@instructure/ui-karma-config

8.55.0 • Public • Published

category: packages

ui-karma-config

npm  MIT License  Code of Conduct

A shared karma config made by Instructure Inc.

Installation

npm install @instructure/ui-karma-config

Usage

In your Karma config file:

/* karma.config.js */
const path = require('path')

module.exports = require('@instructure/ui-karma-config')({
  bundle: './tests.bundle.js',
  coverageThreshold: {
    global: {
      lines: 91
    },
    each: {
      lines: 50
    }
  },
  coverageDirectory: path.join(__dirname, '/coverage')
})

In your tests.bundle.js file:

/* tests.bundle.js */

// import anything else you want to include before the tests here

// import the tests:
require('ui-tests-loader!')

/@instructure/ui-karma-config/

    Package Sidebar

    Install

    npm i @instructure/ui-karma-config

    Weekly Downloads

    3,863

    Version

    8.55.0

    License

    MIT

    Unpacked Size

    131 kB

    Total Files

    12

    Last publish

    Collaborators

    • bpjatacsuk
    • ajmal-esa
    • razorsh4rk
    • david.wenzlick.inst
    • robinkuss64
    • ardena
    • jcflow
    • jguardadom
    • jdewar
    • xcudder
    • ericsaupe
    • joyenjoyer
    • omarpr
    • cguanzon-inst
    • sarahgerard
    • jacksonhowe
    • jakeoeding
    • camray
    • cjs118
    • matyas.szabo
    • herrtopi
    • angela.gomba
    • kyler-instructure
    • instuici
    • eschiebel
    • maths22
    • jcrystal
    • skacsmark
    • itadmins
    • quizzesuici
    • instructure-toolsmiths-service-user
    • aogata-inst
    • instout