jest.config.js 421 B

12345678910111213141516
  1. // Copyright 2019-2021 Tauri Programme within The Commons Conservancy
  2. // SPDX-License-Identifier: Apache-2.0
  3. // SPDX-License-Identifier: MIT
  4. module.exports = {
  5. preset: 'ts-jest',
  6. testEnvironment: 'node',
  7. modulePathIgnorePatterns: ['__fixtures__'],
  8. testMatch: ['<rootDir>/test/**/*.spec.ts'],
  9. moduleFileExtensions: ['ts', 'js', 'json'],
  10. globals: {
  11. 'ts-jest': {
  12. tsconfig: 'tsconfig.json'
  13. }
  14. }
  15. }