* init * get unit test working for course.ts file * added some other tests * tests halfway + change config to accomodate js files * utility functions tests done * fix: config file + miscellaneous fixes * fix: prepare script * fix lock file --------- Co-authored-by: Rotimi Best <best@classroomio.com>
22 lines
455 B
TypeScript
22 lines
455 B
TypeScript
/**
|
|
* For a detailed explanation regarding each configuration property, visit:
|
|
* https://jestjs.io/docs/configuration
|
|
*/
|
|
|
|
import type { Config } from 'jest';
|
|
|
|
const config: Config = {};
|
|
|
|
export default config;
|
|
|
|
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
transform: {
|
|
'^.+\\.svelte$': 'svelte-jester',
|
|
'^.+\\.ts$': 'ts-jest',
|
|
'\\.[jt]sx?$': 'babel-jest'
|
|
}
|
|
};
|