karma-webpack Questions
1
Solved
I recently updated from Angular9 to Angular 12. After the update my tests have started "failing". I have quotes around that because the tests themselves seems to be fine, however after ev...
Kermie asked 3/8, 2021 at 3:32
2
Solved
I would like to know how to implement unit form tests with karma.
I've implemented a test but it always gives the following error: Error: No value accessor for form control with name: 'email'
sign...
Mochun asked 25/2, 2019 at 14:4
3
Solved
I am using angular-cli and I want to use two karma.conf.js files for testing.
For CI : For which I am using Headless Chrome
customLaunchers: {
ChromeHeadless: {
base: 'Chrome',
flags: [
'-...
Osgood asked 30/8, 2017 at 5:6
3
Solved
I'm using Karma-Webpack to run my Angular 2 specs.
https://github.com/webpack/karma-webpack
When I execute tests using karma in Chrome, the source files for my specs appear readable in the debugg...
Nakesha asked 24/8, 2016 at 19:41
1
I've recently upgraded my projet from angular 7 to angular 9.
When I run the tests (ng test), I always get http://localhost:9876/_karma_webpack_/ appendend to the error, hence in visual studio code...
Anastrophe asked 15/5, 2020 at 13:1
0
I'm using Typescript to create some web components with Lit element.
Webpack to bundle and unit tests with karma.
I've noticed that the coverage report is all out:
showing uncovered branches and...
Crannog asked 2/5, 2020 at 12:34
3
Solved
After the recent releases of webpack 1.14.0 / karma 1.4.0 / karma-webpack 2.2.0, that I now see a lot of these messages when karma starts its webpack build.
webpack: wait until bundle finished:
...
Unobtrusive asked 27/1, 2017 at 22:27
2
Solved
I am tring to run test of angular using npm
ng test
but the problem is that chrome start and not stop after test finish so I used :
ng test --watch=false
but that cause error "Chrome 69.0.3497...
Stomodaeum asked 8/10, 2018 at 10:31
1
Solved
I have some test files with tests I'd like to run against my app.
I am attempting to use karma, karma-webpack, karma-babel-preprocessor, karma-chrome-launcher, and jasmine in my testing. My app d...
Anthea asked 5/6, 2018 at 21:27
2
I am trying to setup testing with Karma, Jasmine, Webpack in AngularJS.
My webpack is working fine and I can run my website using npm start
A simple test works fine but the moment I try to add my ...
Bedplate asked 18/9, 2017 at 5:9
1
I tried to use Angular TestBed as described on angular.io website to test a simple component, but I get errors like: TypeError: undefined is not an object (evaluating 'ProxyZoneSpec.assertPresent')...
Queenqueena asked 28/8, 2017 at 11:57
1
Solved
I'm trying to set up a build process for TypeScript using Webpack. Everything's working fine for most parts. However I can't get source-maps to work properly in the Karma test runner.
Problem desc...
Eugene asked 16/5, 2018 at 15:4
1
© 2022 - 2024 — McMap. All rights reserved.