mirror of
https://github.com/honojs/hono.git
synced 2024-11-22 11:17:33 +01:00
52b56e6ddb
* feat(miniflare): repalce service-worker-mock with miniflare * feat(ci): add build step
16 lines
357 B
JavaScript
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'],
|
|
},
|
|
}
|