-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: project rewrite in TypeScript (#146)
* refactor: rewrite the project in TypeScript * ci: make CI run on pull_request trigger * fix(test): fix checkDraggingConfiguration unit test for inexistent chart not working properly * refactor(test)!: reduce number of test cases in interaction.spec.ts E2E test suite * ci: change triggers for ci.yml * ci: enable verbose logging of codecov action & pass codecov token via env var * ci: downgrade codecov action to v3 due to constant 500 ISE responses with v4 * chore: proper exports in package.json * fix: bundler outputs, tests coverage not working * fix: use closeBundle to properly copy declaration files for test bundles * fix: page bundler asset path, package.json files include path to dist * test: added applyMagnet unit test * refactor: use chart.js helpers in cartesian calc instead of calculating manually; added clipValue * test: added applyMagnet & reorganized tests files; added config checking helpers to tests * test: increased screenshot testing threshold in E2E * refactor(test): add jest-extended matchers & refactor tests to use toHaveBeenCalledExactlyOnceWith * refactor(test): add dragEndCallback test suite, add extended matchers to jest tests * refactor: strip utils property from plugin object, add comment to index.ts * fix(test): fix dragEndCallback test * test: more tests for plugin drag start, progress & end handlers
- Loading branch information
Showing
61 changed files
with
3,450 additions
and
1,077 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
coverage | ||
/dist | ||
dist | ||
docs/assets | ||
pages/dist-demos/assets | ||
pages/dist-e2e | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.