You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a relatively simple Typescript-powered Next.js application. I am attempting to use the with-typescript-eslint-jest example to add unit testing to my application. However, after implementing the example I get Unexpected reserved word 'interface' when running my first test because the page I'm testing defines an interface. The example doesn't seem to define any types or interfaces in the example page, so I'm not sure if this is unsupported with the example configuration or if I'm doing something wrong. Any ideas?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a relatively simple Typescript-powered Next.js application. I am attempting to use the
with-typescript-eslint-jest
example to add unit testing to my application. However, after implementing the example I getUnexpected reserved word 'interface'
when running my first test because the page I'm testing defines an interface. The example doesn't seem to define any types or interfaces in the example page, so I'm not sure if this is unsupported with the example configuration or if I'm doing something wrong. Any ideas?Beta Was this translation helpful? Give feedback.
All reactions