test(web): App

This commit is contained in:
Paul Armstrong
2021-02-20 08:20:17 -06:00
committed by Blake Blackshear
parent c12aec7c8f
commit 3348f04889
14 changed files with 38 additions and 16 deletions
-2
View File
@@ -2,8 +2,6 @@ import { h } from 'preact';
import { ApiProvider, useFetch, useApiHost } from '..';
import { render, screen } from '@testing-library/preact';
jest.mock('../baseUrl');
describe('useApiHost', () => {
test('is set from the baseUrl', async () => {
function Test() {