Skip to content

Commit

Permalink
test: update configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-haynes committed Aug 6, 2024
1 parent fb8f05e commit d3596b0
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 79 deletions.
11 changes: 4 additions & 7 deletions packages/accounts/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ export default {
testEnvironment: 'node',
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
globals: {
'ts-jest': {
'^.+\\.[tj]s$': ['ts-jest', {
tsconfig: {
allowJs: true
}
}
allowJs: true,
},
}],
},
};
11 changes: 4 additions & 7 deletions packages/biometric-ed25519/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ export default {
testEnvironment: 'node',
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
globals: {
'ts-jest': {
'^.+\\.[tj]s$': ['ts-jest', {
tsconfig: {
allowJs: true
}
}
allowJs: true,
},
}],
},
};
11 changes: 4 additions & 7 deletions packages/crypto/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ export default {
testEnvironment: 'node',
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
globals: {
'ts-jest': {
'^.+\\.[tj]s$': ['ts-jest', {
tsconfig: {
allowJs: true
}
}
allowJs: true,
},
}],
},
};
17 changes: 7 additions & 10 deletions packages/keystores-browser/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ export default {
collectCoverage: true,
testEnvironment: 'node',
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
globals: {
'ts-jest': {
tsconfig: {
allowJs: true
}
}
},
transform: {
'^.+\\.[tj]s$': ['ts-jest', {
tsconfig: {
allowJs: true
}
}]
},
};
11 changes: 4 additions & 7 deletions packages/keystores-node/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ export default {
testEnvironment: 'node',
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
globals: {
'ts-jest': {
'^.+\\.[tj]s$': ['ts-jest', {
tsconfig: {
allowJs: true
}
}
allowJs: true,
},
}],
},
};
11 changes: 4 additions & 7 deletions packages/keystores/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ export default {
testEnvironment: 'node',
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
globals: {
'ts-jest': {
'^.+\\.[tj]s$': ['ts-jest', {
tsconfig: {
allowJs: true
}
}
allowJs: true,
},
}],
},
};
9 changes: 3 additions & 6 deletions packages/providers/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ export default {
testEnvironment: 'node',
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
globals: {
'ts-jest': {
'^.+\\.[tj]s$': ['ts-jest', {
tsconfig: {
allowJs: true
allowJs: true
}
}
}]
},
};
11 changes: 4 additions & 7 deletions packages/signers/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ export default {
testEnvironment: 'node',
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
globals: {
'ts-jest': {
'^.+\\.[tj]s$': ['ts-jest', {
tsconfig: {
allowJs: true
}
}
allowJs: true,
},
}],
},
};
11 changes: 4 additions & 7 deletions packages/transactions/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ export default {
testEnvironment: 'node',
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
globals: {
'ts-jest': {
'^.+\\.[tj]s$': ['ts-jest', {
tsconfig: {
allowJs: true
}
}
allowJs: true,
},
}],
},
};
11 changes: 4 additions & 7 deletions packages/utils/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ export default {
testEnvironment: 'node',
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
globals: {
'ts-jest': {
'^.+\\.[tj]s$': ['ts-jest', {
tsconfig: {
allowJs: true
}
}
allowJs: true,
},
}],
},
};
11 changes: 4 additions & 7 deletions packages/wallet-account/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ export default {
testEnvironment: 'node',
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
transform: {
'^.+\\.[tj]s$': 'ts-jest'
},
globals: {
'ts-jest': {
'^.+\\.[tj]s$': ['ts-jest', {
tsconfig: {
allowJs: true
}
}
allowJs: true,
},
}],
},
};

0 comments on commit d3596b0

Please sign in to comment.