Skip to content

Commit

Permalink
Merge pull request #5 from jamesh48/typescript-refactor
Browse files Browse the repository at this point in the history
typescript refactor + testing
  • Loading branch information
alfaarghya committed Mar 14, 2024
2 parents 9abb141 + ccf1f54 commit 2672e49
Show file tree
Hide file tree
Showing 39 changed files with 5,779 additions and 683 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
.vscode
leetCode-api.txt
leetCode-api.txt

dist
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
71 changes: 0 additions & 71 deletions index.js

This file was deleted.

15 changes: 15 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { Config } from '@jest/types';

const customJestConfig: Config.InitialOptions = {
preset: 'ts-jest',
transform: {
'^.+\\.(ts|tsx)?$': 'ts-jest',
},
moduleDirectories: ['node_modules', '<rootDir>/'],
setupFilesAfterEnv: ['<rootDir>/setupTests.ts'],
testPathIgnorePatterns: ['<rootDir>/iac'],
};

module.exports = async function () {
return customJestConfig;
};
78 changes: 0 additions & 78 deletions leetCode.js

This file was deleted.

Loading

0 comments on commit 2672e49

Please sign in to comment.