Skip to content

Commit

Permalink
fix: wasm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
luckasRanarison committed Nov 5, 2024
1 parent 76a2064 commit d8dab24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/runtimes/wasm_reflected/wasm_sync_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tests/runtimes/wasm_wire/wasm_sync_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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");

Expand Down

0 comments on commit d8dab24

Please sign in to comment.