Skip to content

Commit

Permalink
CAN-143 - Fixed casing in tests to fix pipeline
Browse files Browse the repository at this point in the history
Problem - Some outdated casing for test module imports

Solution - Fix them
  • Loading branch information
marcaufderheyde committed Sep 12, 2024
1 parent 97b5012 commit 7d52a4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/components/AutoScaler/AutoScaler.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jest.mock('@/app/helpers/useWindowSize', () => ({
default: jest.fn(() => ({ width: 800, height: 600 })),
}));

jest.mock('./helpers/classNameMatcher', () => ({
jest.mock('./helpers/ClassNameMatcher', () => ({
__esModule: true,
default: {
getCustomWidth: jest.fn((className: string) => '200'),
Expand Down
2 changes: 1 addition & 1 deletion app/components/Home/Home-content.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jest.mock('next-intl', () => ({
useLocale: jest.fn(),
}));

jest.mock('@/app/components/Home/headline', () => {
jest.mock('@/app/components/Home/Headline', () => {
const React = require('react');
return {
__esModule: true,
Expand Down
2 changes: 1 addition & 1 deletion app/components/Navbar/Links.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jest.mock('next/navigation', () => ({
usePathname: jest.fn(),
}));

jest.mock('@/app/Helpers/isPathnameHome', () => jest.fn());
jest.mock('@/app/helpers/isPathnameHome', () => jest.fn());

describe('Links Component', () => {
const mockLinks = [
Expand Down

0 comments on commit 7d52a4b

Please sign in to comment.