feat(sync-service): Clean up publication filters #1887
ts_test.yml
on: pull_request
List packages
4s
List examples
5s
Matrix: Build and test
Matrix: check_packages
Matrix: check_and_build_examples
Annotations
16 errors and 8 warnings
test/react-hooks.test.tsx > useShape > should sync a shape:
packages/react-hooks/test/react-hooks.test.tsx#L91
AssertionError: expected [] to deeply equal [ { …(2) } ]
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
- Expected
+ Received
- Array [
- Object {
- "id": "f53c81be-69a5-4603-9c1a-600dbd8ec8a4",
- "title": "test row",
- },
- ]
+ Array []
❯ test/react-hooks.test.tsx:91:35
❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
test/react-hooks.test.tsx > useShape > should re-sync a shape after an interrupt:
packages/react-hooks/test/react-hooks.test.tsx#L128
AssertionError: expected [] to deeply equal [ { …(2) } ]
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
<div />
</body>
</html>
- Expected
+ Received
- Array [
- Object {
- "id": "4c74cb6e-16c0-4747-bf6f-f0c58ca5ecd8",
- "title": "test row",
- },
- ]
+ Array []
❯ test/react-hooks.test.tsx:128:35
❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
test/react-hooks.test.tsx > useShape > should keep the state value in sync:
packages/react-hooks/test/react-hooks.test.tsx#L195
AssertionError: expected [] to not deeply equal []
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
Compared values have no visual difference.
❯ test/react-hooks.test.tsx:195:57
❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
test/react-hooks.test.tsx > useShape > should let you change the shape definition (and clear the internal cache between):
packages/react-hooks/test/react-hooks.test.tsx#L232
AssertionError: expected [] to deeply equal [ { …(2) } ]
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
- Expected
+ Received
- Array [
- Object {
- "id": "928aae19-4efe-4857-a3cb-41b8a166ff82",
- "title": "test row",
- },
- ]
+ Array []
❯ test/react-hooks.test.tsx:232:35
❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
test/react-hooks.test.tsx > useShape > should allow use of the "selector" api from useSyncExternalStoreWithSelector:
packages/react-hooks/test/react-hooks.test.tsx#L274
AssertionError: expected [] to deeply equal [ { …(2) } ]
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
- Expected
+ Received
- Array [
- Object {
- "id": "9c36a1ff-4f6c-4da4-957f-461426fa126a",
- "title": "test row",
- },
- ]
+ Array []
❯ test/react-hooks.test.tsx:274:35
❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
test/react-hooks.test.tsx > useShape > should unmount cleanly:
packages/react-hooks/test/react-hooks.test.tsx#L349
AssertionError: expected [] to not deeply equal []
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
Compared values have no visual difference.
❯ test/react-hooks.test.tsx:349:57
❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
Build and test (packages/react-hooks)
Process completed with exit code 1.
|
test/cache.test.ts > HTTP Proxy Cache > should get a short max-age cache-conrol header in live mode:
packages/typescript-client/test/cache.test.ts#L79
AssertionError: expected 503 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 503
❯ test/cache.test.ts:79:31
|
test/cache.test.ts > HTTP Proxy Cache > should get cached response on second request:
packages/typescript-client/test/cache.test.ts#L118
AssertionError: expected 503 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 503
❯ test/cache.test.ts:118:32
|
test/cache.test.ts > HTTP Proxy Cache > should get stale response when max age is passed but cache is not yet revalidated:
packages/typescript-client/test/cache.test.ts#L146
AssertionError: expected 503 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 503
❯ test/cache.test.ts:146:40
|
test/cache.test.ts > HTTP Proxy Cache > should get fresh response when age is passed the stale age:
packages/typescript-client/test/cache.test.ts#L180
AssertionError: expected 503 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 503
❯ test/cache.test.ts:180:40
|
test/cache.test.ts > HTTP Initial Data Caching > tells client to resync when shape is out of scope:
packages/typescript-client/test/cache.test.ts#L216
AssertionError: expected 503 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 503
❯ test/cache.test.ts:216:31
|
test/client.test.ts > Shape > should expose connection status:
packages/typescript-client/test/client.test.ts#L286
AssertionError: expected false to be true
- Expected
+ Received
- true
+ false
❯ test/client.test.ts:286:37
|
test/client.test.ts > Shape > should support async error handler:
packages/typescript-client/test/client.test.ts#L499
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/client.test.ts:499:39
|
test/client.test.ts > Shape > should expose isLoading status:
packages/typescript-client/test/client.test.ts#L599
AssertionError: expected true to be false
- Expected
+ Received
- false
+ true
❯ test/client.test.ts:599:35
|
Build and test (packages/typescript-client)
Process completed with exit code 1.
|
List examples
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
List packages
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check packages/typescript-client
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check packages/experimental
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check packages/react-hooks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build and test (packages/experimental)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build and test (packages/react-hooks)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build and test (packages/typescript-client)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|