Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele committed Apr 17, 2024
1 parent 0aefb99 commit d147958
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Layout from '@/components/layout/Base'

import { renderWithWrappers } from '@/__tests__/functions'

test('Navbar renders correctly', () => {
test('Base layout renders correctly', () => {
const container = renderWithWrappers(
<Layout>
<p>Test base layout</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Navbar renders correctly 1`] = `
exports[`Base layout renders correctly 1`] = `
.c0 {
width: 100%;
background-color: #F4F7F8;
Expand Down Expand Up @@ -47,7 +47,7 @@ exports[`Navbar renders correctly 1`] = `
</a>
</nav>
<style>
#nprogress {
pointer-events: none;
}
Expand Down Expand Up @@ -114,7 +114,7 @@ exports[`Navbar renders correctly 1`] = `
transform: rotate(360deg);
}
}
</style>
<p>
Test base layout
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_dirname}}/cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// ***********************************************************

// Import commands.js using ES2015 syntax:
import '@/cypress/support/commands'
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
Expand Down

0 comments on commit d147958

Please sign in to comment.