fixed tests and package vulnerabilities
This commit is contained in:
@@ -6,6 +6,9 @@ module.exports = {
|
||||
testMatch: ['**/tests/unit/**/*.test.js'],
|
||||
setupFilesAfterEnv: ['<rootDir>/tests/setup.js'],
|
||||
testTimeout: 10000,
|
||||
transformIgnorePatterns: [
|
||||
'node_modules/(?!(@scure|@otplib|otplib|@noble)/)'
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'integration',
|
||||
@@ -13,6 +16,9 @@ module.exports = {
|
||||
testMatch: ['**/tests/integration/**/*.test.js'],
|
||||
setupFilesAfterEnv: ['<rootDir>/tests/integration-setup.js'],
|
||||
testTimeout: 30000,
|
||||
transformIgnorePatterns: [
|
||||
'node_modules/(?!(@scure|@otplib|otplib|@noble)/)'
|
||||
],
|
||||
},
|
||||
],
|
||||
// Run tests sequentially to avoid module cache conflicts between unit and integration tests
|
||||
|
||||
Reference in New Issue
Block a user