Skip to content

Commit

Permalink
feat: add jest with snaphot and basic build email done
Browse files Browse the repository at this point in the history
  • Loading branch information
multivoltage committed Mar 23, 2023
1 parent 94a7e2e commit 4f88a02
Show file tree
Hide file tree
Showing 21 changed files with 5,193 additions and 428 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?

input/
output/
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"tabWidth": 2,
"useTabs": false
}
2 changes: 2 additions & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

declare module "ejs"
17 changes: 0 additions & 17 deletions index.ts

This file was deleted.

6 changes: 6 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
testPathIgnorePatterns: ["dist"],
};

0 comments on commit 4f88a02

Please sign in to comment.