Skip to content

Commit 09f7976

Browse files
committed
refactor(tests): Move tests into src folder
1 parent dc520ed commit 09f7976

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"preversion": "npm test && npm run build",
1919
"version": "git commit -am \"Update dist for release\" && git checkout -b release && git add -f dist/",
2020
"postversion": "git push --tags && git checkout master && git branch -D release && git push",
21-
"testee": "testee test/test.html --browsers firefox",
21+
"testee": "testee src/test --browsers firefox",
2222
"test": "npm run eslint && npm run testee",
2323
"eslint": "eslint src/**/*.js",
2424
"release:patch": "npm version patch && npm publish",

src/test/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<title>async-transform</title>
2+
<script src="/node_modules/steal/steal.js" main="src/test/test" mocha="bdd"></script>

src/async-transform_test.js renamed to src/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import QUnit from 'steal-mocha';
22
import chai from 'chai';
3-
import asyncTransform from './async-transform';
3+
import asyncTransform from '../async-transform';
44

55
const assert = chai.assert;
66

test/test.html

Lines changed: 0 additions & 2 deletions
This file was deleted.

test/test.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)