Skip to content

Commit dc9c56f

Browse files
committed
test: Correct tests & test script
1 parent c2ab062 commit dc9c56f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"scripts": {
1515
"prepare": "npx simple-git-hooks",
1616
"build": "mkdir -p dist && terser src/index.js -o dist/preact-custom-element.js --config-file terser-config.json",
17-
"test": "npm run test:types & npm run test:browser",
17+
"test": "npm run test:types && npm run test:browser",
1818
"test:browser": "wtr test/browser/*.test.{js,jsx}",
1919
"test:types": "tsc -p test/types/",
2020
"lint": "eslint src/*.js",

test/types/index.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { h } from 'preact';
2-
import registerElement from '../../src/index';
2+
import registerElement from '../../src/index.js';
33

44
interface AppProps {
55
name: string;

0 commit comments

Comments
 (0)