-
-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vanilla): Improve Snapshot type so that it respects builtin objec…
…ts (#672) * Improve Snapshot type so that it respects builtin objects * Update ts 3.4 patch for Snapshot type * Add pnpm and npm lockfiles to .gitignore. Add tests for Snapshot type. * Add SnapshotIgnore type to list ignored objects * Add RegExp, Error, WeakMap and WeakSet to Snapshot typings tests. * Update yarn.lock * Update yarn.lock * Update tests/typings/Snapshot.test-d.ts Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com> * Add test case for classes in Snapshot type tests * Replace import type with import to fix tests for TS 3.7, because it was introduced in TS 3.8. * Fix for deep object test in Snapshot tests. * Fix ESLint error. * Move Snapshot type tests along the jest tests for snapshot. Rewrite these tests as noot jest tests. * More Snapshot typings tests into decribe() function. --------- Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
- Loading branch information
1 parent
0583645
commit 09d7567
Showing
5 changed files
with
555 additions
and
401 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,7 @@ yarn-error.log* | |
# misc | ||
.DS_Store | ||
.idea | ||
|
||
# pnpn & npm lockfiles | ||
pnpm-lock.yaml | ||
package-lock.json |
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
Oops, something went wrong.
09d7567
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
valtio – ./
valtio-git-main-pmndrs.vercel.app
valtio-pmndrs.vercel.app
valtio.pmnd.rs
valtio.vercel.app