2022-04-07 12:04:24 +01:00
|
|
|
// Copyright (C) 2022 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
2022-05-09 18:34:47 +01:00
|
|
|
process.env.TZ = 'UTC';
|
|
|
|
|
2022-04-07 12:04:24 +01:00
|
|
|
module.exports = {
|
|
|
|
preset: '@vue/cli-plugin-unit-jest/presets/typescript',
|
2022-09-08 15:11:09 +01:00
|
|
|
setupFiles: ['./jest.setup.ts'],
|
2022-04-07 12:04:24 +01:00
|
|
|
testEnvironment: 'jsdom',
|
|
|
|
transform: {
|
2022-09-08 15:11:09 +01:00
|
|
|
'^.+\\.svg$': '<rootDir>/tests/unit/mock/svgTransform.js',
|
|
|
|
},
|
2022-11-16 14:35:14 +00:00
|
|
|
modulePathIgnorePatterns: ['<rootDir>/tests/unit/ignore'],
|
2022-09-08 15:11:09 +01:00
|
|
|
};
|