apple2js/jest.config.js
Ian Flanigan e8cd85f54a
Add configuration and dependencies to support Typescript (#37)
This change adds basic, non-optimal support for Typescript with
webpack. It functions well in development mode and deployment boots
ProDOS. There are probably many ways this configuration can be sped
up, but I haven't investigated that yet.

Note that no Typescript files are added in this change; it is merely a
configuration change.
2020-10-17 16:53:33 -07:00

13 lines
200 B
JavaScript

module.exports = {
"roots": [
"js/",
"test/",
],
"testMatch": [
"**/?(*.)+(spec|test).+(ts|js)"
],
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.ts$": "ts-jest"
},
}