chore: lint + bump deps

This commit is contained in:
liyasthomas
2021-11-04 18:23:50 +05:30
parent ad76d100ee
commit 9e74a8c2e7
32 changed files with 1248 additions and 1265 deletions

View File

@@ -8,11 +8,14 @@ describe("execPreRequestScript", () => {
`
pw.env.set("bob", "newbob")
`,
[{ key: "bob", value: "oldbob" }, { key: "foo", value: "bar" }]
[
{ key: "bob", value: "oldbob" },
{ key: "foo", value: "bar" },
]
)()
).resolves.toEqualRight([
{ key: "bob", value: "newbob" },
{ key: "foo", value: "bar" }
{ key: "foo", value: "bar" },
])
})
@@ -22,7 +25,10 @@ describe("execPreRequestScript", () => {
`
pw.env.set(10, "newbob")
`,
[{ key: "bob", value: "oldbob" }, { key: "foo", value: "bar" }]
[
{ key: "bob", value: "oldbob" },
{ key: "foo", value: "bar" },
]
)()
).resolves.toBeLeft()
})
@@ -33,7 +39,10 @@ describe("execPreRequestScript", () => {
`
pw.env.set("bob", 10)
`,
[{ key: "bob", value: "oldbob" }, { key: "foo", value: "bar" }]
[
{ key: "bob", value: "oldbob" },
{ key: "foo", value: "bar" },
]
)()
).resolves.toBeLeft()
})
@@ -44,7 +53,10 @@ describe("execPreRequestScript", () => {
`
pw.env.set("bob",
`,
[{ key: "bob", value: "oldbob" }, { key: "foo", value: "bar" }]
[
{ key: "bob", value: "oldbob" },
{ key: "foo", value: "bar" },
]
)()
).resolves.toBeLeft()
})
@@ -57,8 +69,6 @@ describe("execPreRequestScript", () => {
`,
[]
)()
).resolves.toEqualRight(
[{ key: "foo", value: "bar" }]
)
).resolves.toEqualRight([{ key: "foo", value: "bar" }])
})
})
})