Annotations
10 errors and 1 warning
Run pnpm test:coverage:
src/hooks/useBasicName.test.ts#L599
AssertionError: expected { type: 'name', isShort: false, …(21) } to deeply equal { type: 'name', isShort: false, …(21) }
- Expected
+ Received
Object {
"beautifiedName": "name.eth",
- "canBeWrapped": false,
+ "canBeWrapped": true,
"expiryDate": undefined,
"gracePeriodEndDate": undefined,
"is2LD": true,
"isCachedData": false,
"isETH": true,
"isLoading": false,
"isNonASCII": false,
"isShort": false,
"isValid": true,
"isWrapped": false,
"labelCount": 2,
"labelDataArray": Array [
Object {
"input": Array [
110,
97,
109,
101,
],
"offset": 0,
"output": Array [
110,
97,
109,
101,
],
"tokens": Array [
Array [
110,
97,
109,
101,
],
],
"type": "ASCII",
},
Object {
"input": Array [
101,
116,
104,
],
"offset": 5,
"output": Array [
101,
116,
104,
],
"tokens": Array [
Array [
101,
116,
104,
],
],
"type": "ASCII",
},
],
"name": "name.eth",
"normalisedName": "name.eth",
"ownerData": null,
"pccExpired": false,
"priceData": Object {
"base": 3203936997786453n,
"premium": 0n,
},
"registrationStatus": "available",
"truncatedName": "name.eth",
"type": "name",
"wrapperData": null,
}
❯ src/hooks/useBasicName.test.ts:599:24
|
Run pnpm test:coverage:
src/hooks/useBasicName.test.ts#L599
AssertionError: expected { type: 'name', isShort: false, …(21) } to deeply equal { type: 'name', isShort: false, …(21) }
- Expected
+ Received
Object {
"beautifiedName": "name.eth",
- "canBeWrapped": false,
+ "canBeWrapped": true,
"expiryDate": 1971-01-15T06:56:07.890Z,
"gracePeriodEndDate": 1971-04-15T06:56:07.890Z,
"is2LD": true,
"isCachedData": false,
"isETH": true,
"isLoading": false,
"isNonASCII": false,
"isShort": false,
"isValid": true,
"isWrapped": false,
"labelCount": 2,
"labelDataArray": Array [
Object {
"input": Array [
110,
97,
109,
101,
],
"offset": 0,
"output": Array [
110,
97,
109,
101,
],
"tokens": Array [
Array [
110,
97,
109,
101,
],
],
"type": "ASCII",
},
Object {
"input": Array [
101,
116,
104,
],
"offset": 5,
"output": Array [
101,
116,
104,
],
"tokens": Array [
Array [
101,
116,
104,
],
],
"type": "ASCII",
},
],
"name": "name.eth",
"normalisedName": "name.eth",
"ownerData": Object {
"owner": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"ownershipLevel": "registrar",
"registrant": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
},
"pccExpired": false,
"priceData": Object {
"base": 3203936997786453n,
"premium": 0n,
},
"registrationStatus": "registered",
"truncatedName": "name.eth",
"type": "name",
"wrapperData": null,
}
❯ src/hooks/useBasicName.test.ts:599:24
|
Run pnpm test:coverage:
src/hooks/useBasicName.test.ts#L599
AssertionError: expected { type: 'name', isShort: false, …(21) } to deeply equal { type: 'name', isShort: false, …(21) }
- Expected
+ Received
Object {
"beautifiedName": "name.eth",
- "canBeWrapped": false,
+ "canBeWrapped": true,
"expiryDate": 1971-01-15T06:56:07.890Z,
"gracePeriodEndDate": 1971-04-15T06:56:07.890Z,
"is2LD": true,
"isCachedData": false,
"isETH": true,
"isLoading": false,
"isNonASCII": false,
"isShort": false,
"isValid": true,
"isWrapped": false,
"labelCount": 2,
"labelDataArray": Array [
Object {
"input": Array [
110,
97,
109,
101,
],
"offset": 0,
"output": Array [
110,
97,
109,
101,
],
"tokens": Array [
Array [
110,
97,
109,
101,
],
],
"type": "ASCII",
},
Object {
"input": Array [
101,
116,
104,
],
"offset": 5,
"output": Array [
101,
116,
104,
],
"tokens": Array [
Array [
101,
116,
104,
],
],
"type": "ASCII",
},
],
"name": "name.eth",
"normalisedName": "name.eth",
"ownerData": Object {
"owner": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"ownershipLevel": "registrar",
"registrant": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
},
"pccExpired": false,
"priceData": Object {
"base": 3203936997786453n,
"premium": 0n,
},
"registrationStatus": "registered",
"truncatedName": "name.eth",
"type": "name",
"wrapperData": null,
}
❯ src/hooks/useBasicName.test.ts:599:24
|
Run pnpm test:coverage:
src/hooks/useBasicName.test.ts#L599
AssertionError: expected { type: 'name', isShort: false, …(21) } to deeply equal { type: 'name', isShort: false, …(21) }
- Expected
+ Received
Object {
"beautifiedName": "name.eth",
- "canBeWrapped": false,
+ "canBeWrapped": true,
"expiryDate": 1971-01-15T06:56:07.890Z,
"gracePeriodEndDate": 1971-04-15T06:56:07.890Z,
"is2LD": true,
"isCachedData": false,
"isETH": true,
"isLoading": false,
"isNonASCII": false,
"isShort": false,
"isValid": true,
"isWrapped": false,
"labelCount": 2,
"labelDataArray": Array [
Object {
"input": Array [
110,
97,
109,
101,
],
"offset": 0,
"output": Array [
110,
97,
109,
101,
],
"tokens": Array [
Array [
110,
97,
109,
101,
],
],
"type": "ASCII",
},
Object {
"input": Array [
101,
116,
104,
],
"offset": 5,
"output": Array [
101,
116,
104,
],
"tokens": Array [
Array [
101,
116,
104,
],
],
"type": "ASCII",
},
],
"name": "name.eth",
"normalisedName": "name.eth",
"ownerData": Object {
"owner": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"ownershipLevel": "registrar",
"registrant": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
},
"pccExpired": false,
"priceData": Object {
"base": 3203936997786453n,
"premium": 0n,
},
"registrationStatus": "registered",
"truncatedName": "name.eth",
"type": "name",
"wrapperData": null,
}
❯ src/hooks/useBasicName.test.ts:599:24
|
Run pnpm test:coverage:
src/hooks/useBasicName.test.ts#L599
AssertionError: expected { type: 'name', isShort: false, …(21) } to deeply equal { type: 'name', isShort: false, …(21) }
- Expected
+ Received
Object {
"beautifiedName": "name.eth",
- "canBeWrapped": false,
+ "canBeWrapped": true,
"expiryDate": 1971-01-15T06:56:07.890Z,
"gracePeriodEndDate": 1971-04-15T06:56:07.890Z,
"is2LD": true,
"isCachedData": false,
"isETH": true,
"isLoading": false,
"isNonASCII": false,
"isShort": false,
"isValid": true,
"isWrapped": false,
"labelCount": 2,
"labelDataArray": Array [
Object {
"input": Array [
110,
97,
109,
101,
],
"offset": 0,
"output": Array [
110,
97,
109,
101,
],
"tokens": Array [
Array [
110,
97,
109,
101,
],
],
"type": "ASCII",
},
Object {
"input": Array [
101,
116,
104,
],
"offset": 5,
"output": Array [
101,
116,
104,
],
"tokens": Array [
Array [
101,
116,
104,
],
],
"type": "ASCII",
},
],
"name": "name.eth",
"normalisedName": "name.eth",
"ownerData": Object {
"owner": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"ownershipLevel": "registrar",
"registrant": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
},
"pccExpired": false,
"priceData": Object {
"base": 3203936997786453n,
"premium": 0n,
},
"registrationStatus": "registered",
"truncatedName": "name.eth",
"type": "name",
"wrapperData": null,
}
❯ src/hooks/useBasicName.test.ts:599:24
|
Run pnpm test:coverage:
src/hooks/useBasicName.test.ts#L599
AssertionError: expected { type: 'name', isShort: false, …(21) } to deeply equal { type: 'name', isShort: false, …(21) }
- Expected
+ Received
Object {
"beautifiedName": "name.eth",
- "canBeWrapped": false,
+ "canBeWrapped": true,
"expiryDate": 1970-01-15T05:51:19.890Z,
"gracePeriodEndDate": 1970-04-15T05:51:19.890Z,
"is2LD": true,
"isCachedData": false,
"isETH": true,
"isLoading": false,
"isNonASCII": false,
"isShort": false,
"isValid": true,
"isWrapped": false,
"labelCount": 2,
"labelDataArray": Array [
Object {
"input": Array [
110,
97,
109,
101,
],
"offset": 0,
"output": Array [
110,
97,
109,
101,
],
"tokens": Array [
Array [
110,
97,
109,
101,
],
],
"type": "ASCII",
},
Object {
"input": Array [
101,
116,
104,
],
"offset": 5,
"output": Array [
101,
116,
104,
],
"tokens": Array [
Array [
101,
116,
104,
],
],
"type": "ASCII",
},
],
"name": "name.eth",
"normalisedName": "name.eth",
"ownerData": Object {
"owner": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"ownershipLevel": "registrar",
"registrant": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
},
"pccExpired": false,
"priceData": Object {
"base": 3203936997786453n,
"premium": 0n,
},
"registrationStatus": "gracePeriod",
"truncatedName": "name.eth",
"type": "name",
"wrapperData": null,
}
❯ src/hooks/useBasicName.test.ts:599:24
|
Run pnpm test:coverage:
src/hooks/useBasicName.test.ts#L599
AssertionError: expected { type: 'name', isShort: false, …(21) } to deeply equal { type: 'name', isShort: false, …(21) }
- Expected
+ Received
Object {
"beautifiedName": "name.eth",
- "canBeWrapped": false,
+ "canBeWrapped": true,
"expiryDate": 1970-01-15T05:51:19.890Z,
"gracePeriodEndDate": 1970-04-15T05:51:19.890Z,
"is2LD": true,
"isCachedData": false,
"isETH": true,
"isLoading": false,
"isNonASCII": false,
"isShort": false,
"isValid": true,
"isWrapped": false,
"labelCount": 2,
"labelDataArray": Array [
Object {
"input": Array [
110,
97,
109,
101,
],
"offset": 0,
"output": Array [
110,
97,
109,
101,
],
"tokens": Array [
Array [
110,
97,
109,
101,
],
],
"type": "ASCII",
},
Object {
"input": Array [
101,
116,
104,
],
"offset": 5,
"output": Array [
101,
116,
104,
],
"tokens": Array [
Array [
101,
116,
104,
],
],
"type": "ASCII",
},
],
"name": "name.eth",
"normalisedName": "name.eth",
"ownerData": Object {
"owner": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"ownershipLevel": "registrar",
"registrant": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
},
"pccExpired": false,
"priceData": Object {
"base": 3203936997786453n,
"premium": 0n,
},
"registrationStatus": "gracePeriod",
"truncatedName": "name.eth",
"type": "name",
"wrapperData": null,
}
❯ src/hooks/useBasicName.test.ts:599:24
|
Run pnpm test:coverage:
src/hooks/useBasicName.test.ts#L599
AssertionError: expected { type: 'name', …(22) } to deeply equal { type: 'name', …(22) }
- Expected
+ Received
Object {
"beautifiedName": "subname.name.eth",
- "canBeWrapped": false,
+ "canBeWrapped": true,
"expiryDate": undefined,
"gracePeriodEndDate": undefined,
"is2LD": false,
"isCachedData": false,
"isETH": true,
"isLoading": false,
"isNonASCII": false,
"isShort": false,
"isValid": true,
"isWrapped": false,
"labelCount": 3,
"labelDataArray": Array [
Object {
"input": Array [
115,
117,
98,
110,
97,
109,
101,
],
"offset": 0,
"output": Array [
115,
117,
98,
110,
97,
109,
101,
],
"tokens": Array [
Array [
115,
117,
98,
110,
97,
109,
101,
],
],
"type": "ASCII",
},
Object {
"input": Array [
110,
97,
109,
101,
],
"offset": 8,
"output": Array [
110,
97,
109,
101,
],
"tokens": Array [
Array [
110,
97,
109,
101,
],
],
"type": "ASCII",
},
Object {
"input": Array [
101,
116,
104,
],
"offset": 13,
"output": Array [
101,
116,
104,
],
"tokens": Array [
Array [
101,
116,
104,
],
],
"type": "ASCII",
},
],
"name": "subname.name.eth",
"normalisedName": "subname.name.eth",
"ownerData": Object {
"owner": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"ownershipLevel": "registry",
- "registrant": undefined,
},
"pccExpired": false,
"priceData": undefined,
"registrationStatus": "owned",
"truncatedName": "subname.name.eth",
"type": "name",
"wrapperData": null,
}
❯ src/hooks/useBasicName.test.ts:599:24
|
Run pnpm test:coverage:
src/hooks/useBasicName.test.ts#L599
AssertionError: expected { type: 'name', …(22) } to deeply equal { type: 'name', …(22) }
- Expected
+ Received
Object {
"beautifiedName": "subname.name.eth",
- "canBeWrapped": false,
+ "canBeWrapped": true,
"expiryDate": undefined,
"gracePeriodEndDate": undefined,
"is2LD": false,
"isCachedData": false,
"isETH": true,
"isLoading": false,
"isNonASCII": false,
"isShort": false,
"isValid": true,
"isWrapped": false,
"labelCount": 3,
"labelDataArray": Array [
Object {
"input": Array [
115,
117,
98,
110,
97,
109,
101,
],
"offset": 0,
"output": Array [
115,
117,
98,
110,
97,
109,
101,
],
"tokens": Array [
Array [
115,
117,
98,
110,
97,
109,
101,
],
],
"type": "ASCII",
},
Object {
"input": Array [
110,
97,
109,
101,
],
"offset": 8,
"output": Array [
110,
97,
109,
101,
],
"tokens": Array [
Array [
110,
97,
109,
101,
],
],
"type": "ASCII",
},
Object {
"input": Array [
101,
116,
104,
],
"offset": 13,
"output": Array [
101,
116,
104,
],
"tokens": Array [
Array [
101,
116,
104,
],
],
"type": "ASCII",
},
],
"name": "subname.name.eth",
"normalisedName": "subname.name.eth",
"ownerData": Object {
"owner": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"ownershipLevel": "registry",
- "registrant": undefined,
},
"pccExpired": false,
"priceData": undefined,
"registrationStatus": "owned",
"truncatedName": "subname.name.eth",
"type": "name",
"wrapperData": null,
}
❯ src/hooks/useBasicName.test.ts:599:24
|
Run pnpm test:coverage
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading