mirror of
https://github.com/owncast/owncast.git
synced 2024-12-27 03:28:30 +03:00
5f2252f2a4
These are the first javascript unit tests. Added them to the CI worflow. Closes #2930
6 lines
212 B
JavaScript
6 lines
212 B
JavaScript
module.exports = {
|
|
transform: { '^.+\\.ts?$': 'ts-jest' },
|
|
testEnvironment: 'node',
|
|
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
};
|