Skip to content

Commit 02fde71

Browse files
committed
Use test/*.spec.ts
1 parent 57f1ab2 commit 02fde71

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
roots: ['<rootDir>/src'],
2+
roots: ['<rootDir>'],
33
testMatch: [
44
'**/__tests__/**/*.+(ts|tsx|js)',
55
'**/?(*.)+(spec|test).+(ts|tsx|js)'

src/cli.test.ts renamed to test/cli.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PassThrough } from 'stream';
2-
import cli from './cli';
2+
import cli from '../src/cli';
33

44
describe('cli()', () => {
55
it('should return stdout with exitcode=0', async () => {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import countChars from './count';
1+
import countChars from '../src/count';
22

33
describe('countChars()', () => {
44
it('should return count of content', async () => {

0 commit comments

Comments
 (0)