Skip to content

Commit

Permalink
test(experimental): add tests for cli
Browse files Browse the repository at this point in the history
  • Loading branch information
06kellyjac committed Feb 6, 2025
1 parent cd7c22a commit 4b1c5d5
Show file tree
Hide file tree
Showing 9 changed files with 4,108 additions and 576 deletions.
13 changes: 13 additions & 0 deletions experimental/li-cli/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { pathsToModuleNameMapper } from 'ts-jest';
import { compilerOptions } from './tsconfig.json';
import type { JestConfigWithTsJest } from 'ts-jest';

const jestConfig: JestConfigWithTsJest = {
roots: ['<rootDir>/src'],
modulePaths: [compilerOptions.baseUrl],
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths),
preset: 'ts-jest',
testEnvironment: 'node',
};

export default jestConfig;
Loading

0 comments on commit 4b1c5d5

Please sign in to comment.