Skip to content

Commit

Permalink
fix(integ): bring back integ tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smguggen committed Mar 4, 2023
1 parent b2e2072 commit 9b8de3f
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
!jest.config.js
*.d.ts
src/**/*.js
test/**/*.js
node_modules
# Compiled code
lib/
Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ node_modules
.cdk.staging
cdk.out
coverage/
test/coverage.xml
test/
test.ts
.git/
.github/
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@
],
"scripts": {
"build": "tsc --project tsconfig.build.json",
"test-build": "tsc --project tsconfig.test.json",
"watch": "tsc -w",
"test": "jest --ci --reporters=default --coverage",
"integ": "integ-runner",
"integ-local": "npm run build && integ-runner",
"integ-local": "npm run test-build && integ-runner",
"prepare": "husky install",
"semantic-release": "semantic-release"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
"resolveJsonModule": true,
"typeRoots": ["./node_modules/@types"]
},
"include": ["src/**/*", "test/**/*"]
"include": ["src/**/*"]
}
24 changes: 24 additions & 0 deletions tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"compilerOptions": {
"target":"ES2018",
"module": "commonjs",
"lib": ["es2016", "es2017.object", "es2017.string"],
"declaration": true,
"strict": true,
"noImplicitAny": false,
"strictNullChecks": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": false,
"inlineSourceMap": true,
"inlineSources": true,
"experimentalDecorators": true,
"strictPropertyInitialization":false,
"resolveJsonModule": true,
"typeRoots": ["./node_modules/@types"]
},
"include": ["test/**/*"]
}

0 comments on commit 9b8de3f

Please sign in to comment.