oklink-api
Version:
This is a non-official JS SDK API for calling OKLink's API product.
21 lines (19 loc) • 532 B
JavaScript
/* eslint-env node */
module.exports = {
moduleFileExtensions: ['ts', 'tsx', 'js'],
transform: {
'^.+\\.(ts|tsx)$': ['ts-jest', { tsconfigFile: 'tsconfig.json' }],
},
testEnvironment: 'node',
testMatch: ['**/test/**/*.(test|spec).(ts|tsx|js)'],
coverageThreshold: {
global: {
branches: 60,
functions: 60,
lines: 60,
statements: 60,
},
},
collectCoverageFrom: ['src/**/*.{js,ts}', '!src/lib/**', '!src/main.ts'],
}