test(web-components): fix test and add another todo test #104
Annotations
5 errors and 1 warning
error: expect(received).toBe(expected):
src/utils/log-table/index.test.ts#L31
Expected: "[ \u001B[34minfo\u001B[0m ] \n[ \u001B[34minfo\u001B[0m ] name | age\n[ \u001B[34minfo\u001B[0m ] -------------\n[ \u001B[34minfo\u001B[0m ] John | 23 \n[ \u001B[34minfo\u001B[0m ] Jane | 42 "
Received: "[ info ] \n[ info ] name | age\n[ info ] -------------\n[ info ] John | 23 \n[ info ] Jane | 42 "
at /home/runner/work/brisa/brisa/src/utils/log-table/index.test.ts:31:6
|
error: expect(received).toEqual(expected):
src/utils/compile-files/index.test.ts#L60
[
"pages-client",
+ "pages",
"_brisa",
+ "chunk-75c9edf8d74cab75.js"
- "pages",
- "chunk-e209715fdb13aa54.js"
]
- Expected - 2
+ Received + 2
at /home/runner/work/brisa/brisa/src/utils/compile-files/index.test.ts:60:6
|
error: expect(received).toEqual(expected):
src/utils/compile-files/index.test.ts#L95
[
+ "i18n.js",
"pages-client",
+ "pages",
- "layout.js",
"_brisa",
+ "chunk-68a24b4233eeec87.js",
+ "layout.js",
"websocket.js",
- "middleware.js",
"api",
+ "middleware.js"
- "pages",
- "i18n.js",
- "chunk-e209715fdb13aa54.js"
]
- Expected - 5
+ Received + 5
at /home/runner/work/brisa/brisa/src/utils/compile-files/index.test.ts:95:4
|
error: expect(received).toEqual(expected):
src/utils/compile-assets/index.test.ts#L46
[
+ "some-dir",
- "favicon.ico",
"favicon.ico.gz",
+ "favicon.ico"
- "some-dir"
]
- Expected - 2
+ Received + 2
at /home/runner/work/brisa/brisa/src/utils/compile-assets/index.test.ts:46:4
|
build
Process completed with exit code 1.
|
build
Unexpected input(s) 'version', valid inputs are ['bun-version']
|