Skip to content

Commit

Permalink
update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fkhadra committed Nov 25, 2024
1 parent 4d6e54e commit 57e0f02
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions cypress/support/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import '@cypress/code-coverage/support';
import './commands';
import './style.css';
import '../../src/style.css';

// Alternatively you can use CommonJS syntax:
// require('./commands')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
NotificationCenterItem,
UseNotificationCenterParams,
useNotificationCenter
} from 'react-toastify/notification-center';
} from './useNotificationCenter';

function TestComponent(props: UseNotificationCenterParams) {
const [content, setContent] = React.useState('');
Expand Down
1 change: 0 additions & 1 deletion src/components/CloseButton.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import '../style.css';
import { CloseButton } from './CloseButton';

describe('CloseButton', () => {
Expand Down
1 change: 0 additions & 1 deletion src/components/Icons.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import '../style.css';
import { TypeOptions } from '../types';
import { IconParams, getIcon } from './Icons';

Expand Down
1 change: 0 additions & 1 deletion src/components/ProgressBar.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import '../style.css';
import { Theme } from '../types';
import { ProgressBar } from './ProgressBar';

Expand Down
1 change: 0 additions & 1 deletion src/components/Toast.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import '../style.css';
import { DraggableDirection, ToastProps } from '../types';
import { Default } from '../utils';
import { Toast } from './Toast';
Expand Down
3 changes: 2 additions & 1 deletion src/core/toast.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import { toast, ToastContainer } from 'react-toastify';
import { ToastContainer } from '../components';
import { toast } from './toast';

beforeEach(() => {
cy.viewport('macbook-15');
Expand Down

0 comments on commit 57e0f02

Please sign in to comment.