Clean up tests and tslint
This commit is contained in:
@@ -20,8 +20,8 @@ test("Header contains text \"Aalto-yliopiston sähköinsinöörikilta!\"", async
|
||||
* Test if the header contains the text.
|
||||
*/
|
||||
const header = Selector("h1");
|
||||
const text = await header.textContent;
|
||||
await t.expect(text).contains("Aalto-yliopiston sähköinsinöörikilta!");
|
||||
await t.expect(header.textContent)
|
||||
.contains("Aalto-yliopiston sähköinsinöörikilta!");
|
||||
});
|
||||
|
||||
fixture`Increment button`.page("http://localhost:3000");
|
||||
|
||||
Reference in New Issue
Block a user