Skip to content

Commit

Permalink
chore: fix package tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsol committed Jan 15, 2024
1 parent 777d085 commit 82883a7
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 28 deletions.
5 changes: 1 addition & 4 deletions packages/cart/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
"allowSyntheticDefaultImports": true,
"noUnusedLocals": false,
"skipLibCheck": false,
"outDir": "lib",
"typeRoots": [
"node_modules/@types"
]
"outDir": "lib"
},
"include": [
"./src/**/*.ts"
Expand Down
5 changes: 1 addition & 4 deletions packages/gql-bot/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES2021",
"target": "es6",
"module": "commonjs",
"moduleResolution": "node",
"declaration": true,
Expand All @@ -13,9 +13,6 @@
"esModuleInterop": true,
"sourceMap": true,
"outDir": "lib",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2020.promise",
"dom"
Expand Down
3 changes: 0 additions & 3 deletions packages/grpc-client/tsconfig-base.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": "../../tsconfig-base.json",
"compilerOptions": {
"typeRoots": [
"./node_modules/@types"
],
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/kafka-client/test/kafka.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('Kafka provider test', () => {
// suspends the calling function until the offset is committed.
await topic.$wait(offset + 4);
should.exist(countArr);
countArr.should.deepEqual(expectedCountArr);
countArr.length.should.equal(5);
});
});
});
3 changes: 0 additions & 3 deletions packages/kafka-client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"outDir": "lib",
"typeRoots": [
"node_modules/@types"
],
"skipLibCheck": true,
"sourceMap": true
},
Expand Down
3 changes: 0 additions & 3 deletions packages/koa-health-check/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"noUnusedLocals": true,
"declaration": true,
"outDir": "lib",
"typeRoots": [
"node_modules/@types"
],
"skipLibCheck": true
},
"include": [
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"build": "npm-run-all build:clean build:compile",
"build:clean": "rimraf -rf ./dist",
"build:compile": "tsc -p ./tsconfig.lib.json",
"test": "jest",
"test": "jest --forceExit",
"prepublishOnly": "npm run build"
},
"engines": {
Expand Down
3 changes: 0 additions & 3 deletions packages/logger/tsconfig-base.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": "../../tsconfig-base.json",
"compilerOptions": {
"typeRoots": [
"./node_modules/@types"
],
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true
Expand Down
3 changes: 0 additions & 3 deletions packages/rc-grpc-clients/tsconfig-base.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": "../../node_modules/@restorecommerce/dev/tsconfig.json",
"compilerOptions": {
"typeRoots": [
"./node_modules/@types"
],
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"module": "NodeNext"
Expand Down
3 changes: 0 additions & 3 deletions packages/service-config/tsconfig-base.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": "../../tsconfig-base.json",
"compilerOptions": {
"typeRoots": [
"./node_modules/@types"
],
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
},
Expand Down

0 comments on commit 82883a7

Please sign in to comment.