/** * Copyright (c) 2013-present, creativeLabs Lukasz Holeczek. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict' module.exports = { moduleFileExtensions: ['tsx', 'js', 'ts', 'json', 'vue'], preset: 'ts-jest', setupFiles: ['jest-canvas-mock'], testEnvironment: 'jsdom', testEnvironmentOptions: { customExportConditions: ['node', 'node-addons'], }, testPathIgnorePatterns: ['dist/'], transform: { '.*\\.(ts)$': 'ts-jest', '.*\\.(vue)$': '@vue/vue3-jest', }, }