add jest-test-server, resolver and coverage

This commit is contained in:
Rene
2020-09-06 23:11:19 +02:00
parent 67d15f9cba
commit 43efd22c47
12 changed files with 557 additions and 263 deletions
@@ -1,8 +1,8 @@
import html from './__build__/build.html';
import url from './__build__/build.html';
describe('Environment', () => {
beforeAll(async () => {
await page.setContent(html, { waitUntil: 'domcontentloaded' });
await page.goto(url);
});
it('should be titled "Environment"', async () => {
@@ -2,4 +2,6 @@ import { Environment } from 'environment';
import 'some.scss';
import 'some.css';
document.body.append(JSON.stringify(new Environment()));
export { Environment };