Skip to content

Commit e8d6976

Browse files
committed
Fix typo Wich => Which in test action and route names
1 parent b93ab85 commit e8d6976

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/functional/koa-middlewares.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ describe("koa middlewares", () => {
127127
return "1234";
128128
}
129129

130-
@Get("/customMiddlewareWichThrows")
130+
@Get("/customMiddlewareWhichThrows")
131131
@UseBefore(TestCustomMiddlewareWhichThrows)
132-
customMiddlewareWichThrows() {
132+
customMiddlewareWhichThrows() {
133133
return "1234";
134134
}
135135

@@ -193,7 +193,7 @@ describe("koa middlewares", () => {
193193

194194
it("should handle errors in custom middlewares", () => {
195195
return chakram
196-
.get("http://127.0.0.1:3001/customMiddlewareWichThrows")
196+
.get("http://127.0.0.1:3001/customMiddlewareWhichThrows")
197197
.then((response: any) => {
198198
expect(response).to.have.status(406);
199199
});

0 commit comments

Comments
 (0)