Skip to content

Strict tests and turn on strict mode #410

Done

Description

@jtklein-agents

Parent

Spec: strict TypeScript

What to build

Test files type-check under strict mode, and tsconfig.json turns strict mode on.

Acceptance criteria

  • tsconfig.json sets "strict": true and no longer lists noImplicitAny, noImplicitThis, strictBindCallApply or strictFunctionTypes.
  • yarn typecheck passes, including every *.test.ts(x), src/test/ and e2e/helpers.
  • The new Run( null, … ) calls use {} as RunParent, or { onError() {} } as Partial<RunParent> as RunParent where the test reaches onError. No shared factory is added.
  • Tests may use !.
  • No @ts-ignore or @ts-expect-error is added anywhere.
  • yarn verify passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions