@tetcoin/dev
Version:
A collection of shared CI scripts and development environment used by @tetcoin projects
17 lines (14 loc) • 498 B
JavaScript
// Copyright 2017-2020 @polkadot/dev authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
const { defaults } = require('jest-config');
module.exports = {
moduleFileExtensions: [
...defaults.moduleFileExtensions, 'ts', 'tsx'
],
testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
transform: {
'^.+\\.(js|jsx|ts|tsx)$': 'babel-jest'
},
verbose: true
};