fix(tests): add more test #1821
test-multiple-builds.yml
on: pull_request
Matrix: test_multiple_builds
Annotations
6 errors
|
test_multiple_builds (cjs, development)
Process completed with exit code 1.
|
|
[valtio] tests/vanilla/entrypoints.test.ts > entry points > should share the same proxy registry across entry points:
tests/vanilla/entrypoints.test.ts#L64
AssertionError: expected undefined to be defined
❯ tests/vanilla/entrypoints.test.ts:64:36
|
|
[valtio] tests/vanilla/entrypoints.test.ts > entry points > should re-export both halves from the main entry points:
tests/vanilla/entrypoints.test.ts#L52
AssertionError: expected { …(9), …(1) } to have property "default"
❯ tests/vanilla/entrypoints.test.ts:52:20
|
|
[valtio] tests/vanilla/entrypoints.test.ts > entry points > should expose useSnapshot from valtio/react and useProxy from valtio/react/utils:
tests/vanilla/entrypoints.test.ts#L46
AssertionError: expected [ 'default', 'useSnapshot' ] to deeply equal [ 'useSnapshot' ]
- Expected
+ Received
[
+ "default",
"useSnapshot",
]
❯ tests/vanilla/entrypoints.test.ts:46:32
|
|
[valtio] tests/vanilla/entrypoints.test.ts > entry points > should expose the utils from valtio/vanilla/utils:
tests/vanilla/entrypoints.test.ts#L32
AssertionError: expected [ 'deepClone', 'default', …(8) ] to deeply equal [ 'deepClone', 'devtools', …(7) ]
- Expected
+ Received
@@ -1,7 +1,8 @@
[
"deepClone",
+ "default",
"devtools",
"isProxyMap",
"isProxySet",
"proxyMap",
"proxySet",
❯ tests/vanilla/entrypoints.test.ts:32:46
|
|
[valtio] tests/vanilla/entrypoints.test.ts > entry points > should expose the core from valtio/vanilla:
tests/vanilla/entrypoints.test.ts#L14
AssertionError: expected [ 'default', 'getVersion', …(7) ] to deeply equal [ 'getVersion', 'proxy', 'ref', …(5) ]
- Expected
+ Received
@@ -1,6 +1,7 @@
[
+ "default",
"getVersion",
"proxy",
"ref",
"snapshot",
"subscribe",
❯ tests/vanilla/entrypoints.test.ts:14:41
|