Skip to content

Commit

Permalink
(refactor): move test files into test/
Browse files Browse the repository at this point in the history
- app root has a lot of files in it, this should help declutter a bit
  • Loading branch information
agilgur5 committed Nov 25, 2019
1 parent efcdaf1 commit f1378c0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"scripts": {
"changelog": "changelog-maker",
"test": "npm run clean && npm run browserify && npm run webpack && ava",
"test:browserify": "npm run browserify && ava browserify.spec.js",
"test:webpack": "npm run webpack && ava webpack.spec.js",
"test:browserify": "npm run browserify && ava test/browserify.spec.js",
"test:webpack": "npm run webpack && ava test/webpack.spec.js",
"browserify": "node browserify.config.js",
"webpack": "webpack",
"clean": "rm -rf build/ && mkdir build/"
Expand Down
2 changes: 1 addition & 1 deletion browserify.spec.js → test/browserify.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'ava'

import Physijs from './test/utils/browserify/_import-bundle-to-module.js'
import Physijs from './utils/browserify/_import-bundle-to-module.js'

test('Scene creation', t => {
const scene = new Physijs.Scene()
Expand Down
2 changes: 1 addition & 1 deletion webpack.spec.js → test/webpack.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'ava'

import Physijs from './test/utils/webpack/_import-bundle-to-module.js'
import Physijs from './utils/webpack/_import-bundle-to-module.js'

test('Scene creation', t => {
const scene = new Physijs.Scene()
Expand Down

0 comments on commit f1378c0

Please sign in to comment.