Skip to content

Commit

Permalink
alias fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amoore108 committed Sep 30, 2024
1 parent 56291a1 commit 786b3af
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion src/app/components/MediaLoader/Amp/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import React from 'react';
import {
act,
render,
} from '#app/components/react-testing-library-with-providers';
import Amp from './index';
import { act, render } from '../../react-testing-library-with-providers';

const mockAmpIframeUrl = 'https://www.bbc.com/news/av-embeds/123456789';

Expand Down
2 changes: 1 addition & 1 deletion src/app/components/MediaLoader/Message/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { render } from '../../../react-testing-library-with-providers';
import { render } from '#app/components/react-testing-library-with-providers';
import Message from './index';

describe('Media Message', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { render } from '#app/components/react-testing-library-with-providers';
import Guidance from '.';
import { render } from '../../../react-testing-library-with-providers';

describe('Media Player: Guidance', () => {
it('should render Guidance', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-empty-function */
import React from 'react';
import { render } from '../../../react-testing-library-with-providers';
import { render } from '#app/components/react-testing-library-with-providers';
import PlayButton from './index';

describe('PlayButton', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/MediaLoader/Placeholder/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
render,
fireEvent,
getByText,
} from '../../react-testing-library-with-providers';
} from '#app/components/react-testing-library-with-providers';
import Placeholder from '.';

describe('Media Player: Placeholder', () => {
Expand Down

0 comments on commit 786b3af

Please sign in to comment.