File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 32
32
"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" ,
33
33
"copy-typescript-definition" : " copyfiles -f src/*.d.ts dist" ,
34
34
"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/**/[!compat][!debug]* .test.js" ,
36
- "test:mocha:compat" : " BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/compat.test.js 'test/compat-* .test.js'" ,
37
- "test:mocha:debug" : " BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/debug.test.js 'test/debug-* .test.js'" ,
35
+ "test:mocha" : " BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/*.test.js" ,
36
+ "test:mocha:compat" : " BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/compat.test.js 'test/compat/index .test.js'" ,
37
+ "test:mocha:debug" : " BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/debug.test.js 'test/debug/index .test.js'" ,
38
38
"format" : " prettier src/**/*.{d.ts,js} test/**/*.js --write" ,
39
39
"prepublishOnly" : " npm run build" ,
40
40
"release" : " npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
Original file line number Diff line number Diff line change 1
- import { render } from '../src' ;
1
+ import { render } from '../../ src' ;
2
2
import { createElement } from 'preact/compat' ;
3
3
import { expect } from 'chai' ;
4
4
Original file line number Diff line number Diff line change 1
1
import 'preact/debug' ;
2
- import { render } from '../src' ;
2
+ import { render } from '../../ src' ;
3
3
import { h } from 'preact' ;
4
4
import { expect } from 'chai' ;
5
5
You can’t perform that action at this time.
0 commit comments