From d8dab24d26294ae341fcf76ff9b9e3abfc6be63c Mon Sep 17 00:00:00 2001 From: luckasRanarison Date: Tue, 5 Nov 2024 20:58:50 +0300 Subject: [PATCH] fix: wasm tests --- tests/runtimes/wasm_reflected/wasm_sync_test.ts | 4 ++-- tests/runtimes/wasm_wire/wasm_sync_test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/runtimes/wasm_reflected/wasm_sync_test.ts b/tests/runtimes/wasm_reflected/wasm_sync_test.ts index 4e317dea61..06d513a324 100644 --- a/tests/runtimes/wasm_reflected/wasm_sync_test.ts +++ b/tests/runtimes/wasm_reflected/wasm_sync_test.ts @@ -67,7 +67,7 @@ Meta.test( const s3Objects = await listObjects(s3, syncConfig.s3Bucket); // two objects, the artifact and the typegraph - assertEquals(s3Objects?.length, 3); + assertEquals(s3Objects?.length, 2); await gql` query { @@ -88,7 +88,7 @@ Meta.test( const s3 = new S3Client(syncConfig.s3); // typegraphs are pushed to s3 whenever pushed to a typegate - assertEquals((await listObjects(s3, syncConfig.s3Bucket))?.length, 3); + assertEquals((await listObjects(s3, syncConfig.s3Bucket))?.length, 2); const engine = await metaTest.engine( "runtimes/wasm_reflected/wasm_reflected.ts", diff --git a/tests/runtimes/wasm_wire/wasm_sync_test.ts b/tests/runtimes/wasm_wire/wasm_sync_test.ts index d22f4a9240..d17beaead9 100644 --- a/tests/runtimes/wasm_wire/wasm_sync_test.ts +++ b/tests/runtimes/wasm_wire/wasm_sync_test.ts @@ -65,7 +65,7 @@ Meta.test( const s3Objects = await listObjects(s3, syncConfig.s3Bucket); // two objects, the artifact and the typegraph - assertEquals(s3Objects?.length, 3); + assertEquals(s3Objects?.length, 2); await gql` query { @@ -85,7 +85,7 @@ Meta.test( await metaTest.should("work with multiple typegate instances", async () => { const s3 = new S3Client(syncConfig.s3); - assertEquals((await listObjects(s3, syncConfig.s3Bucket))?.length, 3); + assertEquals((await listObjects(s3, syncConfig.s3Bucket))?.length, 2); const engine = await metaTest.engine("runtimes/wasm_wire/wasm_wire.ts");