Skip to content

Commit

Permalink
update prismic-client & prismic-mock
Browse files Browse the repository at this point in the history
  • Loading branch information
xrutayisire committed Sep 10, 2024
1 parent d85948c commit c275b11
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 170 deletions.
186 changes: 18 additions & 168 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
"test": "npm run lint && npm run types && npm run unit && npm run build && npm run size"
},
"dependencies": {
"@prismicio/client": "^7.9.0-alpha",
"@prismicio/client": "7.9.0-alpha.3",
"isomorphic-unfetch": "^3.1.0",
"vue-router": "^4.4.3"
},
"devDependencies": {
"@prismicio/mock": "^0.3.1",
"@prismicio/mock": "0.3.8-alpha.2",
"@size-limit/preset-small-lib": "^8.2.6",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/jsdom-global": "^3.0.7",
Expand Down Expand Up @@ -102,5 +102,9 @@
"vetur": {
"tags": "vetur/tags.json",
"attributes": "vetur/attributes.json"
},
"overrides": {
"@prismicio/client": "7.9.0-alpha.3",
"@prismicio/mock": "0.3.8-alpha.2"
}
}
4 changes: 4 additions & 0 deletions test/components-PrismicLink.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ it("renders link text when slot is not provided", () => {
seed: 2,
type: LinkType.Web,
withTargetBlank: false,
model: { type: "Link", config: { allowText: true } },
withText: true,
}),
url: "https://example.com",
text: "bar",
Expand All @@ -119,6 +121,8 @@ it("renders slot over link text when slot is provided", () => {
seed: 2,
type: LinkType.Web,
withTargetBlank: false,
model: { type: "Link", config: { allowText: true } },
withText: true,
}),
url: "https://example.com",
text: "bar",
Expand Down

0 comments on commit c275b11

Please sign in to comment.