Skip to content

Commit 4f341fe

Browse files
author
Mark George
committed
Progress towards working tests
1 parent b0cdd24 commit 4f341fe

24 files changed

+9190
-10160
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/node_modules
22
/dist
3+
/lib
34
.DS_Store

index.ts

-9
This file was deleted.

jest.config.js

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
module.exports = {
1+
export default {
2+
testEnvironment: 'jest-environment-node',
23
testMatch: [ '**/?(*.)+(spec|test).js' ],
34
setupFilesAfterEnv: [ './tests/config/jest-setup.js' ],
5+
collectCoverageFrom: [ 'lib/*.js' ],
46
globalSetup: 'jest-environment-puppeteer/setup',
57
globalTeardown: 'jest-environment-puppeteer/teardown',
68
testEnvironment: 'jest-environment-puppeteer',
@@ -9,4 +11,9 @@ module.exports = {
911
'tests/config/jest-setup.js',
1012
'tests/lib/*',
1113
],
12-
};
14+
moduleDirectories: [
15+
"lib",
16+
"node_modules",
17+
],
18+
transform: {},
19+
};

0 commit comments

Comments
 (0)