Jamal Carvalho | 594a8c6 | 2021-04-16 16:25:51 -0400 | [diff] [blame] | 1 | /** |
| 2 | * @license |
| 3 | * Copyright 2021 The Go Authors. All rights reserved. |
| 4 | * Use of this source code is governed by a BSD-style |
| 5 | * license that can be found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | let config = { |
Jamal Carvalho | f332330 | 2021-10-25 18:39:23 +0000 | [diff] [blame] | 9 | testEnvironment: 'jsdom', |
Jamal Carvalho | 594a8c6 | 2021-04-16 16:25:51 -0400 | [diff] [blame] | 10 | preset: 'ts-jest', |
| 11 | globals: { |
| 12 | 'ts-jest': { |
| 13 | isolatedModules: true, |
| 14 | }, |
| 15 | }, |
| 16 | moduleFileExtensions: ['ts', 'js'], |
Jamal Carvalho | 594a8c6 | 2021-04-16 16:25:51 -0400 | [diff] [blame] | 17 | }; |
| 18 | |
Jamal Carvalho | 594a8c6 | 2021-04-16 16:25:51 -0400 | [diff] [blame] | 19 | // eslint-disable-next-line no-undef |
| 20 | module.exports = config; |