2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-13 06:07:50 +00:00
iconify/packages/svelte/jest.config.js

16 lines
314 B
JavaScript

/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
verbose: true,
transform: {
'^.+\\.svelte$': 'svelte-jester',
},
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/tests/**/*.test.ts'],
globals: {
'ts-jest': {
tsconfig: 'tests/tsconfig.json',
},
},
};