Skip to content

Commit

Permalink
troubleshoot
Browse files Browse the repository at this point in the history
  • Loading branch information
nedsalk committed May 10, 2024
1 parent 0628796 commit 940f188
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/account/src/providers/provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ Supported fuel-core version: ${mock.supportedVersion}.`
const responseObject = {
data: {
submitAndAwait: {
type: 'SuccessStatus',
type: 'SuccessStatusGlobal',
time: 'data: 4611686020137152060',
},
},
Expand All @@ -1120,7 +1120,7 @@ Supported fuel-core version: ${mock.supportedVersion}.`
for await (const { submitAndAwait } of provider.operations.submitAndAwait({
encodedTransaction: "it's mocked so doesn't matter",
})) {
expect(submitAndAwait.type).toEqual('SuccessStatus');
expect(submitAndAwait.type).toEqual('SuccessStatusGlobal');
expect((<SubmittedStatus>submitAndAwait).time).toEqual('data: 4611686020137152060');
}
});
Expand Down Expand Up @@ -1171,7 +1171,7 @@ Supported fuel-core version: ${mock.supportedVersion}.`
const event2 = {
data: {
submitAndAwait: {
type: 'SuccessStatus',
type: 'SuccessStatusGlobal',
},
},
};
Expand Down Expand Up @@ -1203,7 +1203,7 @@ Supported fuel-core version: ${mock.supportedVersion}.`
expect(submitAndAwait.type).toEqual('SubmittedStatus');
}
if (numberOfEvents === 2) {
expect(submitAndAwait.type).toEqual('SuccessStatus');
expect(submitAndAwait.type).toEqual('SuccessStatusGlobal');
}
}

Expand All @@ -1216,7 +1216,7 @@ Supported fuel-core version: ${mock.supportedVersion}.`
const responseObject = JSON.stringify({
data: {
submitAndAwait: {
type: 'SuccessStatus',
type: 'SuccessStatusGlobal',
},
},
});
Expand Down Expand Up @@ -1244,7 +1244,7 @@ Supported fuel-core version: ${mock.supportedVersion}.`
for await (const { submitAndAwait } of provider.operations.submitAndAwait({
encodedTransaction: "it's mocked so doesn't matter",
})) {
expect(submitAndAwait.type).toEqual('SuccessStatus');
expect(submitAndAwait.type).toEqual('SuccessStatusGlobal');
}
});

Expand All @@ -1262,7 +1262,7 @@ Supported fuel-core version: ${mock.supportedVersion}.`
const event2 = JSON.stringify({
data: {
submitAndAwait: {
type: 'SuccessStatus',
type: 'SuccessStatusGlobal',
},
},
});
Expand Down Expand Up @@ -1297,7 +1297,7 @@ Supported fuel-core version: ${mock.supportedVersion}.`
expect(submitAndAwait.type).toEqual('SubmittedStatus');
}
if (numberOfEvents === 2) {
expect(submitAndAwait.type).toEqual('SuccessStatus');
expect(submitAndAwait.type).toEqual('SuccessStatusGlobal');
}
}

Expand All @@ -1318,7 +1318,7 @@ Supported fuel-core version: ${mock.supportedVersion}.`
const event2 = JSON.stringify({
data: {
submitAndAwait: {
type: 'SuccessStatus',
type: 'SuccessStatusGlobal',
},
},
});
Expand Down Expand Up @@ -1355,7 +1355,7 @@ Supported fuel-core version: ${mock.supportedVersion}.`
expect(submitAndAwait.type).toEqual('SubmittedStatus');
}
if (numberOfEvents === 2) {
expect(submitAndAwait.type).toEqual('SuccessStatus');
expect(submitAndAwait.type).toEqual('SuccessStatusGlobal');
}
}

Expand Down

0 comments on commit 940f188

Please sign in to comment.