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");
|
||||
|
||||
+4
-2
@@ -7,7 +7,8 @@
|
||||
],
|
||||
"indent": [
|
||||
true,
|
||||
"spaces"
|
||||
"spaces",
|
||||
2
|
||||
],
|
||||
"no-duplicate-variable": true,
|
||||
"no-eval": true,
|
||||
@@ -51,7 +52,8 @@
|
||||
],
|
||||
"indent": [
|
||||
true,
|
||||
"spaces"
|
||||
"spaces",
|
||||
2
|
||||
],
|
||||
"no-eval": true,
|
||||
"no-internal-module": true,
|
||||
|
||||
Reference in New Issue
Block a user