@instructure/ui-karma-config

8.38.0 • Public • Published

category: packages

ui-karma-config

npm  MIT License  Code of Conduct

A shared karma config made by Instructure Inc.

Installation

yarn add @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!')

Keywords

none

Install

npm i @instructure/ui-karma-config

DownloadsWeekly Downloads

2,115

Version

8.38.0

License

MIT

Unpacked Size

134 kB

Total Files

12

Last publish

Collaborators

  • jakeoeding
  • camray
  • cjs118
  • matyas.szabo
  • herrtopi
  • angela.gomba
  • kyler-instructure
  • instuici
  • eschiebel
  • maths22
  • jcrystal
  • skacsmark
  • itadmins
  • quizzesuici
  • instructure-toolsmiths-service-user
  • aogata-inst
  • instout