0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 11:17:33 +01:00
hono/jest.config.js
Minghe 52b56e6ddb
feat(miniflare): repalce service-worker-mock with miniflare (#41)
* feat(miniflare): repalce service-worker-mock with miniflare

* feat(ci): add build step
2022-01-12 02:14:53 +09:00

16 lines
357 B
JavaScript

module.exports = {
testMatch: [
'**/test/**/*.+(ts|tsx|js)',
'**/src/**/(*.)+(spec|test).+(ts|tsx|js)',
],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
},
testPathIgnorePatterns: ['./example'],
testEnvironment: 'miniflare',
testEnvironmentOptions: {
// bindings: { KEY: 'value' },
// kvNamespaces: ['TEST_NAMESPACE'],
},
}