Skip to content

Commit

Permalink
test: fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sahsisunny committed Nov 9, 2023
1 parent 0d81b34 commit 117b339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/pages/dashboard.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Dashboard from '../../src/pages/dashboard';
import { render, screen, fireEvent, waitFor, act } from '@testing-library/react';
import { render, screen, fireEvent, act } from '@testing-library/react';

describe.only('Dashboard Component', () => {
const mockWriteText = jest.fn();
Expand Down
2 changes: 1 addition & 1 deletion __tests__/utils/shortenUrl.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { UserTypes } from '@/types/user.types';
import { userData } from '../../fixtures/users';
import { TINY_API_URL } from '@/constants/url';
import shortenUrl from '../../src/utils/ShortenUrl';
import shortenUrl from '@/utils/ShortenUrl';

describe('shortenUrl', () => {
beforeEach(() => {
Expand Down

0 comments on commit 117b339

Please sign in to comment.