Skip to content

Commit

Permalink
refactor: use TypeScript for Jest configuration
Browse files Browse the repository at this point in the history
Refs #395, #398
  • Loading branch information
thewilkybarkid committed Nov 2, 2021
1 parent 08b08b9 commit 90585a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ COPY \
.prettierrc \
.proxyrc \
docker-entrypoint.sh \
jest.config.js \
jest.config.ts \
./

COPY --from=scripts /app/dist/scripts/ dist/scripts/
Expand Down
6 changes: 4 additions & 2 deletions jest.config.js → jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const config = {
import type { Config } from '@jest/types';

const config: Config.InitialOptions = {
globals: {
'ts-jest': {
diagnostics: false,
Expand All @@ -10,4 +12,4 @@ const config = {
verbose: true,
};

module.exports = config;
export default config;

0 comments on commit 90585a0

Please sign in to comment.