Skip to content

Commit f134475

Browse files
committed
Move config tests to src.
1 parent d98bf2e commit f134475

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"scripts": {
1818
"build": "babel --quiet --out-dir lib src",
1919
"prebuild": "rimraf lib",
20-
"watch": "npm run mocha -- --watch tests/{src,config}",
20+
"watch": "npm run mocha -- --watch tests/src",
2121
"pretest": "linklocal",
2222
"posttest": "eslint .",
2323
"mocha": "cross-env BABEL_ENV=test NODE_PATH=./src nyc -s mocha -R dot --recursive -t 5s",
24-
"test": "npm run mocha tests/{src,config}",
24+
"test": "npm run mocha tests/src",
2525
"test-compiled": "npm run prepublish && NODE_PATH=./lib mocha --compilers js:babel-register --recursive tests/src",
2626
"test-all": "npm test && for resolver in ./resolvers/*; do cd $resolver && npm test && cd ../..; done",
2727
"prepublish": "npm run build",

Diff for: tests/config/typescript.js renamed to tests/src/config/typescript.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import path from 'path'
22
import { expect } from 'chai'
33

4-
const config = require(path.join(__dirname, '..', '..', 'config', 'typescript'))
4+
const config = require(path.join(__dirname, '..', '..', '..', 'config', 'typescript'))
55

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

0 commit comments

Comments
 (0)