1234567891011121314151617181920212223242526272829 |
- 'use strict'
- const standard = require('mocha-standard')
- describe('code style', function () {
- this.timeout(5000)
- it('should conform to standard', standard.files([
- 'lib/**/*.js',
- '*.js'
- ]))
- })
- describe('code style in tests', function () {
- this.timeout(5000)
- it('should conform to standard', standard.files([
- 'test/**/*.js'
- ], {
- globals: [
- 'describe',
- 'it',
- 'before',
- 'beforeEach',
- 'after',
- 'afterEach'
- ]
- }))
- })
|