Skip to content

Commit

Permalink
Merge pull request #28 from TimCsaky/chore/npm-updates
Browse files Browse the repository at this point in the history
NPM package updates
  • Loading branch information
jujaga authored Dec 13, 2022
2 parents a836f76 + 7086e3f commit 4ada171
Show file tree
Hide file tree
Showing 7 changed files with 3,892 additions and 4,123 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
node-version:
- 14.x
- 16.x
- 18.x
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -45,7 +46,7 @@ jobs:
env:
CI: true
- name: Save Coverage Results
if: matrix.node-version == '16.x'
if: matrix.node-version == '18.x'
uses: actions/upload-artifact@v2
with:
name: coverage-app
Expand All @@ -63,6 +64,7 @@ jobs:
node-version:
- 14.x
- 16.x
- 18.x
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -92,7 +94,7 @@ jobs:
env:
CI: true
- name: Save Coverage Results
if: matrix.node-version == '16.x'
if: matrix.node-version == '18.x'
uses: actions/upload-artifact@v2
with:
name: coverage-frontend
Expand Down
3 changes: 2 additions & 1 deletion app/frontend/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ module.exports = {
collectCoverageFrom: ['src/**/*.{js,vue}', '!src/main.js', '!src/plugins/*.*'],
moduleFileExtensions: ['js', 'json', 'vue', 'jsx'],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1'
'^@/(.*)$': '<rootDir>/src/$1',
'^axios$': require.resolve('axios') // import axios as module (ref: https://github.com/axios/axios/issues/5101)
},
preset: '@vue/cli-plugin-unit-jest',
setupFiles: ['<rootDir>/tests/unit/globalSetup.js'],
Expand Down
Loading

0 comments on commit 4ada171

Please sign in to comment.