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
src/app/capps/capps-administration/hybrid-management/containers/hybrid-management/hybrid-management.component.spec.ts:417:38 - error TS2339: Property 'toBeDisabled' does not exist on type'JestMatchersShape<Matchers<void, HTMLButtonElement>, Matchers<Promise<void>, HTMLButtonElement>>'.
417 expect(getButtonImportHybrids()).toBeDisabled();
~~~~~~~~~~~~
src/app/capps/capps-administration/hybrid-management/containers/hybrid-management/hybrid-management.component.spec.ts:423:42 - error TS2339: Property 'toBeDisabled' does not exist on type'Matchers<void, HTMLButtonElement>'.
Trying to understand why I'm getting this error. I only get it when I push to GitHub and our test runner attempts to run the tests.
My tests that use toBeDisabled are the only ones getting the error. Other spectator tests have worked fine for quite some time. Is there a type definition package I'm missing or something?
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
-
Trying to understand why I'm getting this error. I only get it when I push to GitHub and our test runner attempts to run the tests.
My tests that use
toBeDisabled
are the only ones getting the error. Other spectator tests have worked fine for quite some time. Is there a type definition package I'm missing or something?Beta Was this translation helpful? Give feedback.
All reactions