Skip to content

Commit

Permalink
Moved options from ts-loader to the dedicated tsconfig.test file. [sk…
Browse files Browse the repository at this point in the history
…ip ci]
  • Loading branch information
pomek committed Apr 12, 2023
1 parent 122adef commit c62abfb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
*/
{
"extends": "./tsconfig.json",
"compilerOptions": {
// Do not emit any JS file as these TypeScript files are just passed through webpack.
// Automated tests have a single entry point.
// See: https://github.com/ckeditor/ckeditor5/issues/12111.
"noEmit": false,
// Do not emit any file when couldn't compile a TS file.
// Otherwise, karma prints an error on the top of the output log and then, execute tests.
// It might give a false positive results. Tests are OK while something could not be compiled.
// In such a case we would like to throw an error.
"noEmitOnError": false
},
"include": [
"./typings/",
"./packages/*/src/augmentation.ts",
Expand Down

0 comments on commit c62abfb

Please sign in to comment.