Skip to content

Commit

Permalink
ignore examples and ghpages for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed May 3, 2021
1 parent 0d87710 commit 5796bdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jestconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"]
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
"modulePathIgnorePatterns": ["examples","ghpages"]
}
3 changes: 3 additions & 0 deletions src/__tests__/index.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
test('example test', () => {
console.log("example test")
})

0 comments on commit 5796bdb

Please sign in to comment.