Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/* eslint-disable @typescript-eslint/no-var-requires */
const jestExpoPreset = require('jest-expo/jest-preset');
const { jsWithBabel: tsJestPreset } = require('ts-jest/presets');
module.exports = {
...jestExpoPreset,
clearMocks: true,
transform: {
...tsJestPreset.transform,
...jestExpoPreset.transform,
},
testMatch: [
'**/*.test.ts',
],
};
/* eslint-disable @typescript-eslint/no-var-requires */
const jestExpoPreset = require('jest-expo/jest-preset');
const { jsWithBabel: tsJestPreset } = require('ts-jest/presets');
module.exports = {
...jestExpoPreset,
clearMocks: true,
transform: {
...tsJestPreset.transform,
...jestExpoPreset.transform,
},
testMatch: [
'/packages/**/*.test.ts',
],
modulePathIgnorePatterns: [
'/example',
],
};
/* eslint-disable @typescript-eslint/no-var-requires */
const jestExpoPreset = require('jest-expo/jest-preset');
const { jsWithBabel: tsJestPreset } = require('ts-jest/presets');
module.exports = {
...jestExpoPreset,
clearMocks: true,
transform: {
...tsJestPreset.transform,
...jestExpoPreset.transform,
},
testMatch: [
'**/*.test.ts',
],
};
/* eslint-disable @typescript-eslint/no-var-requires */
const jestExpoPreset = require('jest-expo/jest-preset');
const { jsWithBabel: tsJestPreset } = require('ts-jest/presets');
module.exports = {
...jestExpoPreset,
clearMocks: true,
transform: {
...tsJestPreset.transform,
...jestExpoPreset.transform,
},
testMatch: [
'**/*.test.ts',
],
};
const jestExpoPreset = require('jest-expo/jest-preset');
const { jsWithBabel: tsJestPreset } = require('ts-jest/presets');
module.exports = {
...jestExpoPreset,
clearMocks: true,
transform: {
...tsJestPreset.transform,
...jestExpoPreset.transform,
},
testMatch: [
'**/*.test.ts',
],
};