aria-test
Simple testing tools, provides pre define configuration
Last updated a year ago by aelbore .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install aria-test 
SYNC missed versions from official npm registry.

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
    

Current Tags

  • 0.0.3                                ...           latest (a year ago)

3 Versions

  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (10)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |