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
When using test.todo with Typescript, I pass in one string, like:
test.todo('Model should require attributes');
But I receive the error
error TS2345: Argument of type 'string' is not assignable to parameter of type 'ContextualTest'.
When I try to compile before I run.
Test Source
importtestfrom'ava';test.todo('Model should require attributes');
Error Message & Stack Trace
λ npm run build
> nodemodulesystem@0.0.0 build C:\Users\Justin\nodemodulesystem
> tsc
src/module/controller/controller.spec.ts(3,11): error TS2345: Argument of type 'string' is not assignable to parameter of type 'ContextualTest'.
Command-Line Arguments
I am not getting the error from this but I'll include it anyways..