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.
|
* Test if the header contains the text.
|
||||||
*/
|
*/
|
||||||
const header = Selector("h1");
|
const header = Selector("h1");
|
||||||
const text = await header.textContent;
|
await t.expect(header.textContent)
|
||||||
await t.expect(text).contains("Aalto-yliopiston sähköinsinöörikilta!");
|
.contains("Aalto-yliopiston sähköinsinöörikilta!");
|
||||||
});
|
});
|
||||||
|
|
||||||
fixture`Increment button`.page("http://localhost:3000");
|
fixture`Increment button`.page("http://localhost:3000");
|
||||||
|
|||||||
+4
-2
@@ -7,7 +7,8 @@
|
|||||||
],
|
],
|
||||||
"indent": [
|
"indent": [
|
||||||
true,
|
true,
|
||||||
"spaces"
|
"spaces",
|
||||||
|
2
|
||||||
],
|
],
|
||||||
"no-duplicate-variable": true,
|
"no-duplicate-variable": true,
|
||||||
"no-eval": true,
|
"no-eval": true,
|
||||||
@@ -51,7 +52,8 @@
|
|||||||
],
|
],
|
||||||
"indent": [
|
"indent": [
|
||||||
true,
|
true,
|
||||||
"spaces"
|
"spaces",
|
||||||
|
2
|
||||||
],
|
],
|
||||||
"no-eval": true,
|
"no-eval": true,
|
||||||
"no-internal-module": true,
|
"no-internal-module": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user