Skip to content

Commit 720c9b7

Browse files
Merge pull request #345 from preactjs/jsx-tests
chore: use `.jsx` for jsx files
2 parents 663dbb8 + ee4d6d7 commit 720c9b7

File tree

11 files changed

+25657
-25656
lines changed

11 files changed

+25657
-25656
lines changed

package-lock.json

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

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
"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",
3535
"copy-typescript-definition": "copyfiles -f src/*.d.ts dist",
3636
"test": "eslint src test && tsc && npm run test:mocha && npm run test:mocha:compat && npm run test:mocha:debug && npm run bench",
37-
"test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/*.test.js",
38-
"test:mocha:compat": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/compat/*.test.js'",
39-
"test:mocha:debug": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/debug/index.test.js'",
40-
"format": "prettier src/**/*.{d.ts,js} test/**/*.js --write",
37+
"test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/*.test.js test/*.test.jsx",
38+
"test:mocha:compat": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/compat/*.test.js' 'test/compat/*.test.jsx'",
39+
"test:mocha:debug": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/debug/index.test.js' 'test/debug/index.test.jsx'",
40+
"format": "prettier src/**/*.{d.ts,js,jsx} test/**/*.js test/**/*.jsx --write",
4141
"prepublishOnly": "npm run build",
4242
"release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
4343
},
@@ -130,8 +130,8 @@
130130
"baseline-rts": "npm:preact-render-to-string@latest",
131131
"preact": "^10.13.0",
132132
"prettier": "^2.2.1",
133-
"sinon": "^9.2.2",
134-
"sinon-chai": "^3.5.0",
133+
"sinon": "^17.0.1",
134+
"sinon-chai": "^3.7.0",
135135
"typescript": "^5.0.0"
136136
},
137137
"dependencies": {
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)