Skip to content

Commit

Permalink
feat: Mock of Serverless object for unit tests (#144)
Browse files Browse the repository at this point in the history
Resolves [AB#18712]
  • Loading branch information
tbarlow12 authored and mydiemho committed May 24, 2019
1 parent 40fbf36 commit 0f89cb6
Show file tree
Hide file tree
Showing 5 changed files with 132 additions and 60 deletions.
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module.exports = {
preset: 'ts-jest',
transform: {
".(ts|tsx)": "ts-jest"
},
testRegex: "((\\.|/)(test|spec))\\.ts$",
moduleFileExtensions: ["ts", "tsx", "js"],
testPathIgnorePatterns: [
"/lib/",
"/node_modules/"
Expand Down
Loading

0 comments on commit 0f89cb6

Please sign in to comment.