Skip to content

Commit

Permalink
Refactor tests and bump TS version (#1475)
Browse files Browse the repository at this point in the history
* initial commit, WIP

* Refactoring tests into multiple files; moving away from macros

* More test refactor & fix

* revert ts-node API changes so that this branch is fully dedicated to test refactor

* upgrade deps as needed

* try improving flaky test

* lint-fix

* Replacing more chai with expect; WIP fixing timing issues in REPL tests

* Attempted fix

* Fix?

* fix test flakiness
  • Loading branch information
cspotcode authored Sep 26, 2021
1 parent a44e759 commit 6e6bf63
Show file tree
Hide file tree
Showing 13 changed files with 1,851 additions and 1,697 deletions.
8 changes: 8 additions & 0 deletions ava.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export default {
files: ['dist/test/**/*.spec.js'],
failWithoutAssertions: false,
environmentVariables: {
ts_node_install_lock: `id-${Math.floor(Math.random() * 10e9)}`,
},
timeout: '300s',
};
Loading

0 comments on commit 6e6bf63

Please sign in to comment.