mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
71c65efa20
* Add ignore dsstore node_modules * Rename to typescript rnr -r '(.*)\.js$' '$1.ts' ./src ./test rnr -rf '(.*)\.jsx$' '$1.tsx' ./src ./test * Remove package lock * Fix extension of tsx at context * init typescript * . * Compiles, moved to vite * lint new files * check dashboard * Add dist to ignore file
13 lines
424 B
JavaScript
13 lines
424 B
JavaScript
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
|
export default {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'jsdom',
|
|
modulePaths: ['<rootDir>/src/'],
|
|
testMatch: ['**/test/**'],
|
|
moduleNameMapper: {
|
|
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/mock/fileMock.js',
|
|
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
|
|
// "(.*)": "<rootDir>/src/$1",
|
|
},
|
|
};
|