Skip to content

Commit

Permalink
Merge pull request #4 from compose-us/unit-tests
Browse files Browse the repository at this point in the history
Unit tests
  • Loading branch information
TamaraBogantseva authored Jan 12, 2022
2 parents 481e52c + 56cff46 commit 227ca84
Show file tree
Hide file tree
Showing 10 changed files with 14,445 additions and 6,739 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
/.svelte-kit
/package
.env
/coverage
5 changes: 5 additions & 0 deletions babel.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [['@babel/preset-env', {targets: {node: 'current'}}],
'@babel/preset-typescript',
],
};
10 changes: 10 additions & 0 deletions jest.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* For a detailed explanation regarding each configuration property, visit:
* https://jestjs.io/docs/configuration
*/
module.exports = async() => {
return {
verbose: true,
testURL: "http://localhost",
};
};
Loading

0 comments on commit 227ca84

Please sign in to comment.