Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay committed Nov 24, 2024
1 parent a8b57a7 commit e65edba
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- run: |
tag=${{ github.event.release.tag_name }}
sed -i s/0.0.0-local.0/${tag:1}/ deno.json
- run: deno publish --allow-dirty
npm:
runs-on: ubuntu-latest
steps:
Expand Down
82 changes: 82 additions & 0 deletions types/__snapshots__/object.test.ts.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
export const snapshot = {};

snapshot[`object 1`] = `
{
additionalProperties: false,
description: "",
properties: {
a: {
description: "",
type: "boolean",
},
b: {
description: "",
type: "number",
},
c: {
description: "",
type: "string",
},
},
required: [
"a",
"b",
"c",
],
type: "object",
}
`;

snapshot[`object 2`] = `
{
additionalProperties: false,
description: "Description one.",
properties: {
a: {
description: "",
type: "boolean",
},
b: {
description: "",
type: "number",
},
c: {
description: "",
type: "string",
},
},
required: [
"a",
"b",
"c",
],
type: "object",
}
`;

snapshot[`object 3`] = `
{
additionalProperties: false,
description: "Description two. Description one.",
properties: {
a: {
description: "",
type: "boolean",
},
b: {
description: "",
type: "number",
},
c: {
description: "",
type: "string",
},
},
required: [
"a",
"b",
"c",
],
type: "object",
}
`;
52 changes: 52 additions & 0 deletions types/std/__snapshots__/Wrapper.test.ts.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
export const snapshot = {};

snapshot[`Wrapper 1`] = `
{
additionalProperties: false,
description: "",
properties: {
value: {
description: "",
type: "string",
},
},
required: [
"value",
],
type: "object",
}
`;

snapshot[`Wrapper 2`] = `
{
additionalProperties: false,
description: "Description one.",
properties: {
value: {
description: "",
type: "string",
},
},
required: [
"value",
],
type: "object",
}
`;

snapshot[`Wrapper 3`] = `
{
additionalProperties: false,
description: "Description two. Description one.",
properties: {
value: {
description: "",
type: "string",
},
},
required: [
"value",
],
type: "object",
}
`;

0 comments on commit e65edba

Please sign in to comment.