File tree 5 files changed +1967
-28
lines changed
5 files changed +1967
-28
lines changed Original file line number Diff line number Diff line change @@ -8,5 +8,8 @@ package-lock.json
8
8
# test specific
9
9
test-vault
10
10
11
+ # coverage report
12
+ coverage
13
+
11
14
# docs
12
15
docs /public
Original file line number Diff line number Diff line change
1
+ /** @type {import('ts-jest/dist/types').InitialOptionsTsJest } */
2
+ module . exports = {
3
+ preset : 'ts-jest' ,
4
+ testEnvironment : 'node' ,
5
+ modulePathIgnorePatterns : [ "<rootDir>/docs/" ] ,
6
+
7
+ modulePaths : [ '<rootDir>' , 'node_modules' ] ,
8
+ moduleDirectories : [ 'src' , 'node_modules' ] ,
9
+
10
+ } ;
Original file line number Diff line number Diff line change 5
5
"main" : " src/main.ts" ,
6
6
"scripts" : {
7
7
"dev" : " node esbuild.config.mjs" ,
8
- "build" : " node esbuild.config.mjs production"
8
+ "build" : " node esbuild.config.mjs production" ,
9
+ "test" : " jest" ,
10
+ "coverage" : " jest --coverage"
9
11
},
10
12
"repository" : " git@github.com:MSzturc/obsidian-advanced-slides.git" ,
11
13
"author" : " Matthäus Szturc" ,
14
16
"@types/express" : " 4.11.1" ,
15
17
"@types/fs-extra" : " ^9.0.13" ,
16
18
"@types/glob" : " ^7.2.0" ,
19
+ "@types/jest" : " ^27.0.3" ,
17
20
"@types/lodash" : " ^4.14.177" ,
18
21
"@types/mustache" : " ^4.1.2" ,
19
22
"@types/node" : " ^16.11.11" ,
27
30
"esbuild-plugin-copy" : " ^0.3.0" ,
28
31
"esbuild-sass-plugin" : " ^1.8.0" ,
29
32
"highlight.js" : " ^11.3.1" ,
33
+ "jest" : " ^27.4.5" ,
30
34
"node-sass" : " ^7.0.0" ,
31
35
"obsidian" : " ^0.12.17" ,
32
36
"reveal.js" : " ^4.2.1" ,
33
37
"reveal.js-mermaid-plugin" : " ^0.0.2" ,
34
38
"sass" : " ^1.45.0" ,
39
+ "ts-mockito" : " ^2.6.1" ,
35
40
"ts-node" : " ^10.4.0" ,
36
41
"tslib" : " ^2.3.1" ,
37
42
"typescript" : " ^4.5.2"
Original file line number Diff line number Diff line change
1
+ export { } ;
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments