Skip to content

Commit

Permalink
Merge pull request #320 from kurierjs/dependency_updates_april_2022
Browse files Browse the repository at this point in the history
Dependency Updates September 2022
  • Loading branch information
joelalejandro authored Sep 11, 2022
2 parents 3eb6dc1 + abfb1cc commit 4744b0d
Show file tree
Hide file tree
Showing 7 changed files with 6,030 additions and 5,389 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -20,8 +20,8 @@ jobs:
check-latest: true
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: npm 7
run: npm i -g npm@7 --registry=https://registry.npmjs.org
- name: npm 8
run: npm i -g npm@8 --registry=https://registry.npmjs.org
- name: install dependencies
run: npm ci
- name: build, and test the package
Expand Down
18 changes: 6 additions & 12 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
const baseUnitTest = {
moduleFileExtensions: ["ts", "js"],
transform: {
"^.+\\.(ts)$": "ts-jest"
"^.+\\.(ts)$": [
"ts-jest",
{
tsconfig: "tsconfig.test.json"
}
]
},
displayName: "unit",
globals: {
"ts-jest": {
tsconfig: "tsconfig.test.json"
}
},
testMatch: ["<rootDir>/tests/test-suite/unit/**/?(*.)+(spec|test).ts"],
};

Expand All @@ -23,9 +23,6 @@ module.exports = {
displayName: "acceptance - camelCase",
globals: {
TEST_SUITE: "test_camelCase",
"ts-jest": {
tsconfig: "tsconfig.test.json"
}
},
testMatch: ["<rootDir>/tests/test-suite/acceptance/**/?(*.)+(spec|test).ts"],
setupFilesAfterEnv: ["trace-unhandled/register", "<rootDir>/tests/test-suite/setup.ts"]
Expand All @@ -35,9 +32,6 @@ module.exports = {
displayName: "acceptance - snake_case",
globals: {
TEST_SUITE: "test_snake_case",
"ts-jest": {
tsconfig: "tsconfig.test.json"
}
},
testMatch: ["<rootDir>/tests/test-suite/acceptance/**/?(*.)+(spec|test).ts"],
setupFilesAfterEnv: ["trace-unhandled/register", "<rootDir>/tests/test-suite/setup.ts"]
Expand Down
Loading

0 comments on commit 4744b0d

Please sign in to comment.