Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Unit tests should fail on compilation errors #2454

Open
jarifibrahim opened this issue Feb 19, 2018 · 0 comments
Open

Unit tests should fail on compilation errors #2454

jarifibrahim opened this issue Feb 19, 2018 · 0 comments

Comments

@jarifibrahim
Copy link
Member

Currently, the unit tests pass even though they fail to compile.

The karma config file should contain

karmaTypescriptConfig: {
    compilerOptions: {
         noEmitOnError: true,
         //...
    },
    //...
}

More info
https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Compiler%20Options.md
monounity/karma-typescript#30

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant