Coder Social home page Coder Social logo

videojs-generate-karma-config's People

Contributors

adrums86 avatar brandonocasey avatar gkatsev avatar ldayananda avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

videojs-generate-karma-config's Issues

Additional configurable options

  • config.basePath e.g '..'
  • config.client.qunit.testTimeout
  • config.browserConsoleLogOptions
  • additional reporters e.g 'spec'
  • config.port
  • config.concurrency, e.g 1

Deprecation dependencies warnings

Summary

karma-coverage, dependency of videojs-generate-karma-config, contains istanbul dependency that is a deprecated library.

To solve, update karma-coverage to latest version.

Steps to Reproduce

  1. yarn init -y
  2. yarn add videojs-generate-karma-config
  3. See yarn log

Results

Actual

yarn log:

...
warning videojs-generate-karma-config > karma-coverage > [email protected]: This module is no longer maintained, try this instead:
  npm i nyc
Visit https://istanbul.js.org/integrations for other alternatives.
...

Expect

No warning in yarn log.

Cannot load browser "SafariTechPreview" while running unit tests.

generated a plugin project with yeoman generator. Tests fail with following output:

24 10 2018 15:23:52.215:INFO [launcher]: Launching browsers ChromeHeadless, FirefoxHeadless, Safari, SafariTechPreview with unlimited concurrency
24 10 2018 15:23:52.219:ERROR [launcher]: Cannot load browser "SafariTechPreview": it is not registered! Perhaps you are missing some plugin?
24 10 2018 15:23:52.219:ERROR [karma]: Error: Found 1 load error

Make `spec` the default reporter

Compared to dots, spec gives more information on what tests ran, which ones passed and which failed in an easy to read format.

Example:

image

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.