Skip to content

Commit

Permalink
style[isTupleOf]: formatting test codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Milly committed Aug 13, 2024
1 parent 4633df6 commit 36e4940
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions is/tuple_of_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,17 +191,19 @@ Deno.test("isTupleOf<T, R, L>", async (t) => {
await t.step("returns properly named predicate function", async (t) => {
await assertSnapshot(
t,
isTupleOf([is.Number, is.String, is.Boolean], is.Array, [
is.Number,
is.String,
is.Boolean,
]).name,
isTupleOf(
[is.Number, is.String, is.Boolean],
is.Array,
[is.Number, is.String, is.Boolean],
).name,
);
await assertSnapshot(
t,
isTupleOf([(_x): _x is string => false], is.ArrayOf(is.String), [
(_x): _x is string => false,
])
isTupleOf(
[(_x): _x is string => false],
is.ArrayOf(is.String),
[(_x): _x is string => false],
)
.name,
);
await assertSnapshot(
Expand Down

0 comments on commit 36e4940

Please sign in to comment.