diff --git a/__tests__/unit/models/token.model.test.ts b/__tests__/unit/models/token.model.test.ts index 6de9981..1354cde 100644 --- a/__tests__/unit/models/token.model.test.ts +++ b/__tests__/unit/models/token.model.test.ts @@ -26,7 +26,7 @@ describe('Token model', () => { token: '4321', type: 'invalidToken', expires: moment('2022-02-01 08:30:26.127Z').toDate(), - } + }; await expect(new Token(invalidToken).validate()).rejects.toThrow(); }); }); diff --git a/src/config/enums.ts b/src/config/enums.ts index 2ccd692..4759f6a 100644 --- a/src/config/enums.ts +++ b/src/config/enums.ts @@ -29,4 +29,4 @@ export enum TokenTypeNames { GOOGLE_ACCESS = 'google_access', GOOGLE_REFRESH = 'google_refresh', NOTION_ACCESS = 'notion_access', -}; +} diff --git a/src/config/tokens.ts b/src/config/tokens.ts deleted file mode 100644 index e69de29..0000000