Skip to content

Commit

Permalink
Move config tests to src.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaovieira committed Dec 31, 2019
1 parent 1daab45 commit d82d356
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"scripts": {
"build": "babel --quiet --out-dir lib src",
"prebuild": "rimraf lib",
"watch": "npm run mocha -- --watch \"tests/{src,config}\"",
"watch": "npm run mocha -- --watch tests/src",
"pretest": "linklocal",
"posttest": "eslint .",
"mocha": "cross-env BABEL_ENV=test NODE_PATH=./src nyc -s mocha -R dot --recursive -t 5s",
"test": "npm run mocha -- \"tests/config\"",
"test-compiled": "npm run prepublish && NODE_PATH=./lib mocha --compilers js:babel-register --recursive \"tests/{src,config}\"",
"test": "npm run mocha tests/src",
"test-compiled": "npm run prepublish && NODE_PATH=./lib mocha --compilers js:babel-register --recursive tests/src",
"test-all": "npm test && for resolver in ./resolvers/*; do cd $resolver && npm test && cd ../..; done",
"prepublish": "npm run build",
"coveralls": "nyc report --reporter lcovonly && cat ./coverage/lcov.info | coveralls"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from 'path'
import { expect } from 'chai'

const config = require(path.join(__dirname, '..', '..', 'config', 'typescript'))
const config = require(path.join(__dirname, '..', '..', '..', 'config', 'typescript'))

describe('config typescript', () => {
// https://github.com/benmosher/eslint-plugin-import/issues/1525
Expand Down

0 comments on commit d82d356

Please sign in to comment.