Fix some tests #2274
Annotations
8 errors
tests/e2e/assets.test.ts#L40
AssertionError: expected null not to be null
❯ tests/e2e/assets.test.ts:40:13
|
tests/e2e/assets.test.ts#L128
AssertionError: expected [] to strictly equal [ ObjectContaining{…} ]
- Expected
+ Received
- Array [
- ObjectContaining {
- "url": StringMatching /[/]assets[/]lemon\.[a-zA-Z0-9]*\.png/,
- },
- ]
+ Array []
❯ tests/e2e/assets.test.ts:128:45
|
tests/e2e/assets.test.ts#L157
TypeError: .toMatch() expects to receive a string, but got undefined
❯ tests/e2e/assets.test.ts:157:29
|
tests/e2e/assets.test.ts#L186
AssertionError: expected [] to strictly equal [ ObjectContaining{…} ]
- Expected
+ Received
- Array [
- ObjectContaining {
- "url": StringMatching /[/]assets[/]lemon-tiny\.[a-zA-Z0-9]*\.png/,
- },
- ]
+ Array []
❯ tests/e2e/assets.test.ts:186:45
|
tests/e2e/assets.test.ts#L228
AssertionError: expected '<!DOCTYPE html><html><head><title></t…' to be 'Hello, world!' // Object.is equality
- Expected
+ Received
- Hello, world!
+ <!DOCTYPE html><html><head><title></title></head><body><script type="module" src="/assets/framework.DRPid1xl.js" integrity="sha384-tIpVvt8DHGLecocErXEIOXh7Is15iXbJEdh5wtcuhU5bdYR3ZSMfFNY8/dw8nNU1"></script><script type="module" src="/assets/browser.D6F3DZj9.js" integrity="sha384-iqR5gqD//cjDR9uE1DN9i2vyvqmZzhiK5w90seqwgEHeaQoilY+nB4KauFA0OKY+"></script><div id="app"><div>Hello, world!</div></div></body></html>
❯ tests/e2e/assets.test.ts:228:46
|
tests/e2e/browser.test.ts#L169
AssertionError: expected [ { name: 'color-scheme', …(1) } ] to strictly equal [ { name: 'description', …(1) }, …(1) ]
- Expected
+ Received
Array [
Object {
- "content": "Second description",
- "name": "description",
- },
- Object {
- "content": "test, meta, tags",
- "name": "keywords",
+ "content": "light dark",
+ "name": "color-scheme",
},
]
❯ tests/e2e/browser.test.ts:169:24
|
tests/e2e/routing.test.ts#L43
AssertionError: expected '<!DOCTYPE html><html><head><title></t…' to be 'Redirected' // Object.is equality
- Expected
+ Received
- Redirected
+ <!DOCTYPE html><html><head><title></title></head><body><browser-serialization name="quilt:router"></browser-serialization><script type="module" src="/assets/framework.CMk05cj9.js" integrity="sha384-/tdvmf0AP99+0RY7MeCVUqASMI93MZIQpHF7Rkx/EHNiUtmdz+UihMbuObS4zAM+"></script><script type="module" src="/assets/browser.Bt4LOmQO.js" integrity="sha384-PVUYN/NjymzGxZ45eLmyHB8VX4r7WBNjuna/Bb5epWJFplGW8VffHggSWLulTxcC"></script><div id="app">Redirected</div></body></html>
❯ tests/e2e/routing.test.ts:43:21
|
|
The logs for this run have expired and are no longer available.
Loading