Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(test): fix typo #1707

Merged
merged 1 commit into from
Nov 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/__snapshots__/custom-api-base.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Vitest Snapshot v1

exports[`Custom api baaseURL > Get contents index > basic-index-body 1`] = `
exports[`Custom api baseURL > Get contents index > basic-index-body 1`] = `
{
"children": [
{
Expand Down Expand Up @@ -38,7 +38,7 @@ exports[`Custom api baaseURL > Get contents index > basic-index-body 1`] = `
}
`;

exports[`Custom api baaseURL > Navigation > Get cats navigation > basic-navigation-cats 1`] = `
exports[`Custom api baseURL > Navigation > Get cats navigation > basic-navigation-cats 1`] = `
[
{
"_path": "/cats",
Expand All @@ -65,7 +65,7 @@ exports[`Custom api baaseURL > Navigation > Get cats navigation > basic-navigati
]
`;

exports[`Custom api baaseURL > Navigation > Get dogs navigation > basic-navigation-dogs 1`] = `
exports[`Custom api baseURL > Navigation > Get dogs navigation > basic-navigation-dogs 1`] = `
[
{
"_path": "/dogs",
Expand Down
2 changes: 1 addition & 1 deletion test/custom-api-base.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { testComponents } from './features/components'
const spyConsoleWarn = vi.spyOn(global.console, 'warn')
const apiBaseURL = '/my-content-api'

describe('Custom api baaseURL', async () => {
describe('Custom api baseURL', async () => {
await setup({
rootDir: fileURLToPath(new URL('./fixtures/basic', import.meta.url)),
server: true,
Expand Down