feat(website): use readFile architecture #31
Triggered via pull request
November 10, 2023 02:52
Status
Cancelled
Total duration
6m 23s
Artifacts
–
ci.yml
on: pull_request
Build
6m 11s
Test
1m 7s
Lint [prettier]
1m 30s
Lint [eslint]
40s
Annotations
5 errors
Test
crypto-frontmatter#test: command (/home/runner/work/frontmatter/frontmatter/packages/crypto-frontmatter) pnpm run test exited (1)
|
should getFrontmatterContent of eip155:1/erc20:0x00000000008943c65cAf789FFFCF953bE156f6f8:
packages/crypto-frontmatter/src/content.unit.ts#L7
expect(received).toStrictEqual(expected) // deep equality
- Expected - 0
+ Received + 2
@@ -1,6 +1,7 @@
Object {
+ "caip2": "eip155:1",
"fields": Object {
"decimals": 8,
"images": Array [
Object {
"mine": "image/png",
@@ -22,8 +23,9 @@
"title": "Dharma USD Coin",
},
"fileId": StringMatching /[0-f]{64}/,
"html": "<h1>Dharma USD Coin</h1>",
"modifiedDate": Any<Number>,
+ "namespace": "erc20",
"path": "eip155:1/erc20:0x00000000008943c65cAf789FFFCF953bE156f6f8",
"type": "Frontmatter",
}
at Object.toStrictEqual (src/content.unit.ts:7:30)
|
Test
Process completed with exit code 1.
|
Build
Canceling since a higher priority waiting request for 'CI-pull_request-refs/pull/21/merge' exists
|
Build
The operation was canceled.
|