Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-mp committed Jan 30, 2025
1 parent 91283a6 commit 2fa4ff1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`PageSnippet > App Router > return a snippet with JavaScript 1`] = `
{
"content": "## Create your Foo Bar's page component
"content": "## Create your Foobar's page component
Add a new route by creating an \`app/[uid]/page.js\` file. (If the route should be nested in a child directory, you can create the file in a directory, like \`app/marketing/[uid]/page.js\`.)
Expand Down Expand Up @@ -63,7 +63,7 @@ Make sure all of your import paths are correct. See the [install guide](https://
exports[`PageSnippet > App Router > return a snippet with TypeScript for TypeScript projects 1`] = `
{
"content": "## Create your Foo Bar's page component
"content": "## Create your Foobar's page component
Add a new route by creating an \`app/[uid]/page.tsx\` file. (If the route should be nested in a child directory, you can create the file in a directory, like \`app/marketing/[uid]/page.tsx\`.)
Expand Down Expand Up @@ -131,7 +131,7 @@ Make sure all of your import paths are correct. See the [install guide](https://
exports[`PageSnippet > Pages Router > return a snippet with JavaScript 1`] = `
{
"content": "## Create your Foo Bar's page component
"content": "## Create your Foobar's page component
Add a new route by creating a \`pages/[uid].js\` file. (If the route should be nested in a child directory, you can create the file in a directory, like \`pages/marketing/[uid].js\`.)
Expand Down Expand Up @@ -203,7 +203,7 @@ Make sure all of your import paths are correct. See the [install guide](https://
exports[`PageSnippet > Pages Router > return a snippet with TypeScript for TypeScript projects 1`] = `
{
"content": "## Create your Foo Bar's page component
"content": "## Create your Foobar's page component
Add a new route by creating a \`pages/[uid].tsx\` file. (If the route should be nested in a child directory, you can create the file in a directory, like \`pages/marketing/[uid].tsx\`.)
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-next/test/plugin-snippet-read.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const model = mock.model.customType({
image: mock.model.image(),
integrationFields: mock.model.integration(),
keyText: mock.model.keyText(),
link: mock.model.link(),
linkToMedia: mock.model.linkToMedia(),
link: mock.model.link({ repeat: false, allowText: false }),
linkToMedia: mock.model.linkToMedia({ allowText: false }),
number: mock.model.number(),
richText: mock.model.richText(),
select: mock.model.select(),
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-nuxt/test/plugin-snippet-read.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const model = mock.model.customType({
image: mock.model.image(),
integrationFields: mock.model.integration(),
keyText: mock.model.keyText(),
link: mock.model.link(),
linkToMedia: mock.model.linkToMedia(),
link: mock.model.link({ repeat: false, allowText: false }),
linkToMedia: mock.model.linkToMedia({ allowText: false }),
number: mock.model.number(),
richText: mock.model.richText(),
select: mock.model.select(),
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-nuxt2/test/plugin-snippet-read.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const model = mock.model.customType({
image: mock.model.image(),
integrationFields: mock.model.integration(),
keyText: mock.model.keyText(),
link: mock.model.link(),
linkToMedia: mock.model.linkToMedia(),
link: mock.model.link({ repeat: false, allowText: false }),
linkToMedia: mock.model.linkToMedia({ allowText: false }),
number: mock.model.number(),
richText: mock.model.richText(),
select: mock.model.select(),
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-sveltekit/test/plugin-snippet-read.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const model = mock.model.customType({
image: mock.model.image(),
integrationFields: mock.model.integration(),
keyText: mock.model.keyText(),
link: mock.model.link(),
linkToMedia: mock.model.linkToMedia(),
link: mock.model.link({ repeat: false, allowText: false }),
linkToMedia: mock.model.linkToMedia({ allowText: false }),
number: mock.model.number(),
richText: mock.model.richText(),
select: mock.model.select(),
Expand Down

0 comments on commit 2fa4ff1

Please sign in to comment.