aria-test
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

aria-test

Simple testing tools, provides pre define configuration

Installation

  npm install --save-dev aria-test

### Setup

  • create karma.conf.ts in your root folder of your app
    import { karmaConfig } from 'aria-test'
    import { alias } from 'aria-build'
     
    const vue = require('rollup-plugin-vue')
     
    export default karmaConfig({ 
      frameworks: ['mocha', 'chai'],
      files: [
        'tests/**/*.spec.js'
      ],
      rollup: {
        custom: true,
        plugins: [
          alias({
            vue: 'node_modules/vue/dist/vue.js'
          }),
          vue()
        ]
      }
    })
  • add npm scripts
    "test""karma start"
  • Run your test
    npm test
    

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    1
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i aria-test

Weekly Downloads

3

Version

0.0.3

License

ISC

Unpacked Size

16.2 kB

Total Files

14

Last publish

Collaborators

  • aelbore