Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Oct 4, 2023
1 parent 84c7ead commit 36fc468
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/spark.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ test('submitRetrieval', async () => {
return { status: 200, ok: true, async json () { return { id: 123 } } }
}
const spark = new Spark({ fetch })
await spark.submitMeasurement({ cid: 'bafytest' }, { success: true })
await spark.submitMeasurement({ cid: 'bafytest' }, {})
assertEquals(requests, [
{
url: 'https://spark.fly.dev/measurements',
Expand All @@ -127,7 +127,6 @@ test('submitRetrieval', async () => {
sparkVersion: SPARK_VERSION,
zinniaVersion: Zinnia.versions.zinnia,
cid: 'bafytest',
success: true,
participantAddress: Zinnia.walletAddress
}),
headers: { 'Content-Type': 'application/json' }
Expand Down

0 comments on commit 36fc468

Please sign in to comment.