Gabriel Rousseau-Filion
Results
comments of
Gabriel Rousseau-Filion
I resolve the problem by targetting es6 in tsconfig.spec.json ```json { "extends": "../tsconfig.json", "compilerOptions": { "outDir": "../out-tsc/spec", "baseUrl": "./", "module": "commonjs", "target": "es6", "types": ["jasmine", "node"] }, "files": ["test.ts"], "include":...
Be sure that in your component, you import `import { environment } from './../environments/environment';` instead of `import { environment } from './../environments/environment.prod';` I already made this mistake :P