Skip to content

Commit

Permalink
add: test for Composer[]
Browse files Browse the repository at this point in the history
  • Loading branch information
carafelix committed Dec 26, 2024
1 parent 9092b28 commit 3f300d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/utils-test.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@ describe("Utils tests", () => {
const composer = new Composer();
assert(isMiddleware(composer));
});
it("Composer[]", () => {
const a = new Composer();
const b = new Composer();
assert(isMiddleware([a, b]));
});
});
});

0 comments on commit 3f300d3

Please sign in to comment.