Skip to content

Commit

Permalink
Initial addition of unit tests for data access (#6)
Browse files Browse the repository at this point in the history
* feat: initial test cases

* wip: in progress tests

* fix: test implementation now covers the interceptor

Now uses axios-mock-adapter to mock at a different level than just
using jest and mocking the axios methods directly

* release: bump version to 0.1.0
  • Loading branch information
dhutchison authored Nov 15, 2020
1 parent e2baf76 commit 8b1ae14
Show file tree
Hide file tree
Showing 7 changed files with 12,030 additions and 2,020 deletions.
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// eslint-disable-next-line no-undef
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
Loading

0 comments on commit 8b1ae14

Please sign in to comment.