aboutsummaryrefslogtreecommitdiff
path: root/jest.config.js
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2022-05-01 01:02:58 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2022-05-01 01:02:58 +0200
commitcac85db02ff00732cf75d473dc3411332f33d845 (patch)
tree5f244968a905eb3888434b3f60cbf05d2b652207 /jest.config.js
parenta7cf03c192470cbab13edeb1aec99e0c66dede10 (diff)
Apply formatting
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js44
1 files changed, 22 insertions, 22 deletions
diff --git a/jest.config.js b/jest.config.js
index 6b808fc..0e21d6b 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,24 +1,24 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
export default {
- preset: "ts-jest",
- transform: {
- "^.+\\.svelte$": [
- "svelte-jester",
- {
- "preprocess": true
- }
- ]
- },
- moduleNameMapper: {
- "^\\$lib(.*)$": "<rootDir>/src/lib$1",
- "^\\$app(.*)$": [".svelte/dev/runtime/app/*", ".svelte/build/runtime/app/*"]
- },
- moduleFileExtensions: ["ts", "js", "svelte"],
- globals: {
- 'ts-jest': {
- diagnostics: {
- ignoreCodes: [ 'TS151001' ],
- },
- },
- },
-}
+ preset: 'ts-jest',
+ transform: {
+ '^.+\\.svelte$': [
+ 'svelte-jester',
+ {
+ preprocess: true
+ }
+ ]
+ },
+ moduleNameMapper: {
+ '^\\$lib(.*)$': '<rootDir>/src/lib$1',
+ '^\\$app(.*)$': ['.svelte/dev/runtime/app/*', '.svelte/build/runtime/app/*']
+ },
+ moduleFileExtensions: ['ts', 'js', 'svelte'],
+ globals: {
+ 'ts-jest': {
+ diagnostics: {
+ ignoreCodes: ['TS151001']
+ }
+ }
+ }
+};