mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
Refactor test files to use consistent formatting
This commit is contained in:
parent
818f8cc421
commit
a0ef85b8cd
@ -8,7 +8,7 @@ import {
|
||||
import URL from 'Common/Types/API/URL';
|
||||
|
||||
test.describe('Login', () => {
|
||||
test('should be able to login', async ({ page }: {page: Page}) => {
|
||||
test('should be able to login', async ({ page }: { page: Page }) => {
|
||||
if (!IS_USER_REGISTERED) {
|
||||
// pass this test if the user is not registered
|
||||
return;
|
||||
|
@ -3,7 +3,11 @@ import { STATUS_PAGE_URL } from '../../Config';
|
||||
import URL from 'Common/Types/API/URL';
|
||||
|
||||
test.describe('Basic Status Page', () => {
|
||||
test('should be able to load status page properly', async ({ page }: {page: Page}) => {
|
||||
test('should be able to load status page properly', async ({
|
||||
page,
|
||||
}: {
|
||||
page: Page;
|
||||
}) => {
|
||||
if (!STATUS_PAGE_URL) {
|
||||
// pass this test if the user is not registered
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user