Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 25258cf

Browse files
committed
Move test files to test folder
1 parent 20bd03a commit 25258cf

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "dist/index.js",
66
"scripts": {
77
"rebuild": "rm -rf **/dist **/types && npm install",
8-
"test": "ts-mocha src/**/*.test.ts",
8+
"test": "ts-mocha test/**/*.test.ts",
99
"build": "tsc -p ./tsconfig.json"
1010
},
1111
"keywords": [],
File renamed without changes.

src/index.test.ts test/index.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { deepEqual } from 'assert'
2-
import { translateLinesGivenDiff, diffPositionToFilePosition } from './index'
2+
import { translateLinesGivenDiff, diffPositionToFilePosition } from '../src/index'
33

44
import { readFileSync } from 'fs'
55
const fixture = require('js-yaml').safeLoad(readFileSync(require.resolve('./index.fixture.yaml')))

0 commit comments

Comments
 (0)