We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57f1ab2 commit 02fde71Copy full SHA for 02fde71
jest.config.js
@@ -1,5 +1,5 @@
1
module.exports = {
2
- roots: ['<rootDir>/src'],
+ roots: ['<rootDir>'],
3
testMatch: [
4
'**/__tests__/**/*.+(ts|tsx|js)',
5
'**/?(*.)+(spec|test).+(ts|tsx|js)'
src/cli.test.ts test/cli.spec.tssrc/cli.test.ts renamed to test/cli.spec.ts
import { PassThrough } from 'stream';
-import cli from './cli';
+import cli from '../src/cli';
describe('cli()', () => {
it('should return stdout with exitcode=0', async () => {
src/count.test.ts test/count.spec.tssrc/count.test.ts renamed to test/count.spec.ts
@@ -1,4 +1,4 @@
-import countChars from './count';
+import countChars from '../src/count';
describe('countChars()', () => {
it('should return count of content', async () => {
0 commit comments