Giter Club home page Giter Club logo

Comments (5)

Foxandxss avatar Foxandxss commented on May 9, 2024

You have to use npm test because that will set some webpack configuration. Once we can update to webpack 2, that need will be removed.

from angular-webpack.

GaryB432 avatar GaryB432 commented on May 9, 2024

Beautiful! Thanks! 100% coverage too!

from angular-webpack.

Foxandxss avatar Foxandxss commented on May 9, 2024

Coverage is wrong.

It was never 100% because we were running it against transpiled code and now it gives 100% for no good reason. Will check.

from angular-webpack.

Foxandxss avatar Foxandxss commented on May 9, 2024

Actually no, it is good.

from angular-webpack.

jorawarsingh avatar jorawarsingh commented on May 9, 2024

Tried npm test but same result.
karma start
18 10 2016 17:48:12.560:ERROR [preprocess]: Can not load "webpack", it is not registered!
Perhaps you are missing some plugin?
18 10 2016 17:48:12.560:ERROR [preprocess]: Can not load "sourcemap", it is not registered!
Perhaps you are missing some plugin?

C:\Users\js.BLINFO\AppData\Roaming\npm\node_modules\karma\node_modules\di\lib\injector.js:22
return new Error(stack ? msg + ' (Resolving: ' + stack + ')' : msg);
^
Error: No provider for "framework:jasmine"! (Resolving: framework:jasmine)
at error (C:\Users\js.BLINFO\AppData\Roaming\npm\node_modules\karma\node_modules\di\lib\injector.js:22:12)
at Object.get (C:\Users\js.BLINFO\AppData\Roaming\npm\node_modules\karma\node_modules\di\lib\injector.js:9:13)
at Injector.get (C:\Users\js.BLINFO\AppData\Roaming\npm\node_modules\karma\node_modules\di\lib\injector.js:54:19)
at C:\Users\js.BLINFO\AppData\Roaming\npm\node_modules\karma\lib\server.js:143:20
at Array.forEach (native)
at Server._start (C:\Users\js.BLINFO\AppData\Roaming\npm\node_modules\karma\lib\server.js:142:21)
at Injector.invoke (C:\Users\js.BLINFO\AppData\Roaming\npm\node_modules\karma\node_modules\di\lib\injector.js:75:15)
at Server.start (C:\Users\js.BLINFO\AppData\Roaming\npm\node_modules\karma\lib\server.js:103:18)
at Object.exports.run (C:\Users\js.BLINFO\AppData\Roaming\npm\node_modules\karma\lib\cli.js:280:26)
at Object. (C:\Users\js.BLINFO\AppData\Roaming\npm\node_modules\karma\bin\karma:3:23)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.runMain (module.js:590:10)
npm ERR! Test failed. See above for more details.

from angular-webpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.