Skip to content

Commit b549ab2

Browse files
committed
test: fix failing test
1 parent e598981 commit b549ab2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/lint/src/rules/handler-export.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Deno.test("fresh/handler-export - err", () => {
4444
expect(d.range).toEqual(range);
4545
expect(d.id).toBe("fresh/handler-export");
4646
expect(d.message).toBe(
47-
'Fresh middlewares must be exported as "handler" but got "handlers" instead.',
47+
'Fresh routes must export "handler" instead of "handlers".',
4848
);
4949
expect(d.hint).toBe('Did you mean "handler"?');
5050
}

0 commit comments

Comments
 (0)