mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 10:47:35 -05:00
* install test dependencies * change config for tests * fix linter failing tests * add basic test file * add custom element registration to test * update dependencies * add jest config file * fix test calls on makefile and minor fix on test * update local npm version * clean testm file
15 lines
283 B
JavaScript
15 lines
283 B
JavaScript
//jest.config.js
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'jest-environment-jsdom',
|
|
globals: {
|
|
'ts-jest': {
|
|
tsconfig: 'tsconfig.json'
|
|
}
|
|
},
|
|
verbose: true,
|
|
testEnvironmentOptions: {
|
|
url: "http://localhost"
|
|
}
|
|
};
|