Skip to content

Testy uses tsconfig.json even when an alternative config is specified in testy.json #101

Description

@Stargator

I have a testy.json configured as:

  "tsconfig": "./tsconfig.spec.json",
  "include":[
    "test/**/*.spec.ts"
  ]

Testyts version 1.5.0

When I run testyts, there are errors:

An error occured while executing the following command: /usr/local/Cellar/node@14/14.19.1/bin/node /usr/local/bin/testyts. Error: "⨯ Unable to compile TypeScript:
error TS5023: Unknown compiler option 'noUncheckedIndexedAccess'.
error TS5023: Unknown compiler option 'noImplicitOverride'.
error TS5023: Unknown compiler option 'noPropertyAccessFromIndexSignature'.
"

But these config parameters are removed in tsconfig.spec.json, they only exist in the tsconfig.json. If I rename tsconfig.json to tsconfig.app.json, then the tests run as expected.

Testy seems to be still using tsconfig.json if it exists regardless of the config parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions