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 d98bf2e commit f134475
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -17,11 +17,11 @@
"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/{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",
Expand Down
@@ -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 f134475

Please sign in to comment.