Skip to content

Commit d248f54

Browse files
committed
fix: test name
1 parent f3c30d2 commit d248f54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/features/twitter/controllers/twitter-controller.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe('[Controller] Twitter', () => {
4848
next = vi.fn() as unknown as NextFunction;
4949
});
5050
describe('callback', () => {
51-
it('returns code', async () => {
51+
it('should return code', async () => {
5252
const spyAuthorizeTwitter = vi
5353
.spyOn(authorizeTwitterService, 'execute')
5454
.mockReturnThis();
@@ -65,7 +65,7 @@ describe('[Controller] Twitter', () => {
6565
});
6666

6767
describe('login', () => {
68-
it('return URLs when the token is valid', async () => {
68+
it('should return URLs when the token is valid', async () => {
6969
const mockPayload = {
7070
name: 'John Doe',
7171
userId: '12345',
@@ -83,7 +83,7 @@ describe('[Controller] Twitter', () => {
8383
expect(res.json).toHaveBeenCalledWith(expectedUrl);
8484
});
8585

86-
it('returns 401 when token is invalid', () => {
86+
it('should returns 401 when the token is valid', () => {
8787
req.headers.authorization = undefined;
8888

8989
authController.login(req, res, next);

0 commit comments

Comments
 (0)