-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: convert resize observer loop error to warning (#679)
* feat(test-helper): add mocha util converting resize observer loop error to warning * test(canvas): apply observer loop handler * test(clock): apply observer loop handler * test(heatmap): apply observer loop handler * test(interactive-chart): apply observer loop handler * test(layout): apply observer loop handler * test(notification): apply observer loop handler * test(overlay): apply observer loop handler * test(sparkline): apply observer loop handler * test(swing-gauge): apply observer loop handler * test(tornado-chart): apply observer loop handler * test(test-helpers): add test for resize observer loop handler * refactor(test-helpers): refactor resize observer loop handler to test helper's side effect * test(elements): remove resize observer loop handler import * refactor(test-helpers): cleanup export * refactor(test-helpers): fix code smell --------- Co-authored-by: Wasuwat Limsuparhat <[email protected]>
- Loading branch information
1 parent
fd267b3
commit 54a9fd5
Showing
7 changed files
with
50 additions
and
13 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
2 changes: 1 addition & 1 deletion
2
packages/elements/src/overlay/__test__/managers/backdrop-manager.test.js
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
2 changes: 1 addition & 1 deletion
2
packages/elements/src/overlay/__test__/managers/viewport-manager.test.js
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 |
---|---|---|
|
@@ -31,4 +31,4 @@ | |
"@types/mocha": "^5.2.7", | ||
"mocha": "^6.2.3" | ||
} | ||
} | ||
} |
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