Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Natoandro committed Jan 16, 2025
1 parent dc78185 commit 13964d5
Show file tree
Hide file tree
Showing 6 changed files with 240 additions and 12 deletions.
230 changes: 229 additions & 1 deletion deno.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/e2e/published/sdk_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ for (const version of previousVersions) {
async teardown() {
await testConfig.clearSyncData();
},
only: version === LATEST_PRE_RELEASE_VERSION,
ignore: version === LATEST_RELEASE_VERSION,
},
async (t) => {
const { publishedBin, examplesDir } = await downloadSteps(t, version);
Expand Down
12 changes: 6 additions & 6 deletions tests/e2e/typegraph/__snapshots__/typegraph_test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ snapshot[`typegraphs creation 1`] = `
"context_identifier": "user",
"local_excess": 5
},
"version": "0.0.3",
"version": "0.0.4",
"randomSeed": null,
"artifacts": {}
}
Expand Down Expand Up @@ -404,7 +404,7 @@ snapshot[`typegraphs creation 2`] = `
},
"auths": [],
"rate": null,
"version": "0.0.3",
"version": "0.0.4",
"randomSeed": null,
"artifacts": {}
}
Expand Down Expand Up @@ -655,7 +655,7 @@ snapshot[`typegraphs creation 3`] = `
},
"auths": [],
"rate": null,
"version": "0.0.3",
"version": "0.0.4",
"randomSeed": null,
"artifacts": {
"scripts/three.ts": {
Expand Down Expand Up @@ -926,7 +926,7 @@ snapshot[`typegraphs creation 4`] = `
"context_identifier": "user",
"local_excess": 5
},
"version": "0.0.3",
"version": "0.0.4",
"randomSeed": null,
"artifacts": {}
}
Expand Down Expand Up @@ -1073,7 +1073,7 @@ snapshot[`typegraphs creation 5`] = `
},
"auths": [],
"rate": null,
"version": "0.0.3",
"version": "0.0.4",
"randomSeed": null,
"artifacts": {}
}
Expand Down Expand Up @@ -1324,7 +1324,7 @@ snapshot[`typegraphs creation 6`] = `
},
"auths": [],
"rate": null,
"version": "0.0.3",
"version": "0.0.4",
"randomSeed": null,
"artifacts": {
"scripts/three.ts": {
Expand Down
2 changes: 1 addition & 1 deletion tests/runtimes/graphql/__snapshots__/graphql_test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ snapshot[`Typegraph generation with GraphQL runtime 1`] = `
},
"auths": [],
"rate": null,
"version": "0.0.3",
"version": "0.0.4",
"randomSeed": null,
"artifacts": {}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/runtimes/temporal/__snapshots__/temporal_test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ snapshot[`Typegraph using temporal 1`] = `
},
"auths": [],
"rate": null,
"version": "0.0.3",
"version": "0.0.4",
"randomSeed": null,
"artifacts": {}
}
Expand Down Expand Up @@ -595,7 +595,7 @@ snapshot[`Typegraph using temporal 2`] = `
},
"auths": [],
"rate": null,
"version": "0.0.3",
"version": "0.0.4",
"randomSeed": null,
"artifacts": {}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/tools/schema_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: MPL-2.0

// NOTE: https://github.com/ajv-validator/ajv-formats/issues/85
import Ajv from "https://esm.sh/ajv@8.12.0";
import Ajv from "https://esm.sh/ajv@8.17.1";
import addFormats from "https://esm.sh/[email protected]";

import { parse } from "npm:yaml";
Expand Down

0 comments on commit 13964d5

Please sign in to comment.