test: improve test #88
Annotations
5 errors and 1 warning
error: expect(received).toEqual(expected):
src/utils/compile-files/index.test.ts#L60
[
+ "_brisa",
+ "chunk-75c9edf8d74cab75.js",
"pages-client",
+ "pages"
- "_brisa",
- "pages",
- "chunk-e209715fdb13aa54.js"
]
- Expected - 3
+ Received + 3
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
[
+ "api",
+ "i18n.js",
+ "_brisa",
- "pages-client",
"layout.js",
+ "chunk-68a24b4233eeec87.js",
+ "pages-client",
+ "pages",
- "_brisa",
- "websocket.js",
"middleware.js",
+ "websocket.js"
- "api",
- "pages",
- "i18n.js",
- "chunk-e209715fdb13aa54.js"
]
- Expected - 7
+ Received + 7
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#L51
[
"some-text.txt.gz",
+ "some-img.png",
"some-img.png.gz",
- "some-img.png",
"some-text.txt"
]
- Expected - 1
+ Received + 1
at /home/runner/work/brisa/brisa/src/utils/compile-assets/index.test.ts:51:4
|
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
|
build
Process completed with exit code 1.
|
build
Unexpected input(s) 'version', valid inputs are ['bun-version']
|