strona-czynna/src/back/routes/test-complex.test.ts
Kuba Orlik 651cd48220 Bring the repo up to speed with our recent developments
Summary:
Remove redundant files

User login fixes

Reviewers: #reviewers

Subscribers: jenkins-user

Differential Revision: https://hub.sealcode.org/D1253
2022-07-31 23:01:24 +02:00

18 lines
694 B
TypeScript

import { withProdApp } from "../test_utils/with-prod-app";
import { LONG_TEST_TIMEOUT, webhintURL } from "../test_utils/webhint";
import { TestComplexURL } from "./routes";
describe("TestComplex", () => {
it("doesn't crash", async function () {
this.timeout(LONG_TEST_TIMEOUT);
return withProdApp(async ({ base_url, rest_api }) => {
await rest_api.get(TestComplexURL);
await webhintURL(base_url + TestComplexURL);
// alternatively you can use webhintHTML for faster but less precise scans
// or for scanning responses of requests that use some form of authorization:
// const response = await rest_api.get(TestComplexURL);
// await webhintHTML(response);
});
});
});