This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d24d1ee
commit 67d1a5f
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// Test for passing the github actions | ||
// TODO should update this test later | ||
import { describe, expect, test } from "vitest"; | ||
import { render, screen } from "@testing-library/react"; | ||
import Loading from ".."; | ||
import { describe, expect, test } from 'vitest'; | ||
import { render, screen } from '@testing-library/react'; | ||
import Loading from '..'; | ||
|
||
describe("Loading component", () => | ||
test("should show loading text", () => { | ||
render(<Loading />); | ||
expect(screen.getByText("loading")).toBeInTheDocument(); | ||
})); | ||
describe('Loading component', () => | ||
test('should show loading text', () => { | ||
render(<Loading />); | ||
expect(screen.getByText('loading')).toBeInTheDocument(); | ||
})); |