Skip to content

Commit 009d029

Browse files
committed
update preact version
1 parent 50a66ec commit 009d029

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external preact && microbundle dist/jsx.js -o dist/jsx.js -f cjs --external preact",
3333
"copy-typescript-definition": "copyfiles -f src/*.d.ts dist",
3434
"test": "eslint src test && tsc && npm run test:mocha && npm run test:mocha:compat && npm run test:mocha:debug && npm run bench",
35-
"test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/*.test.js",
35+
"test:mocha": "cross-env BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/*.test.js",
3636
"test:mocha:compat": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/compat/index.test.js'",
3737
"test:mocha:debug": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/debug/index.test.js'",
3838
"format": "prettier src/**/*.{d.ts,js} test/**/*.js --write",
@@ -121,7 +121,7 @@
121121
"lint-staged": "^10.5.3",
122122
"microbundle": "^0.15.1",
123123
"mocha": "^8.2.1",
124-
"preact": "^10.11.1",
124+
"preact": "^10.12.0",
125125
"prettier": "^2.2.1",
126126
"sinon": "^9.2.2",
127127
"sinon-chai": "^3.5.0",

test/render.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@ describe('render', () => {
13131313
);
13141314
}
13151315

1316-
expect(render(<App />)).to.equal('<div><p>P481</p><p>P476951</p></div>');
1316+
expect(render(<App />)).to.equal('<div><p>P0-0</p><p>P0-1</p></div>');
13171317
});
13181318
});
13191319
});

0 commit comments

Comments
 (0)