dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
792 B
32 lines
792 B
/* global describe, it */
|
|
'use strict'
|
|
import eslintConfigAngular from '../'
|
|
import {expect} from 'chai'
|
|
import isArray from 'is-array'
|
|
import isPlainObj from 'is-plain-obj'
|
|
|
|
describe('eslint-config-angular', () => {
|
|
describe('main', () => {
|
|
it('should be an object', () => {
|
|
expect(isPlainObj(eslintConfigAngular)).to.eql(true)
|
|
})
|
|
})
|
|
|
|
describe('globals', () => {
|
|
it('should be an object', () => {
|
|
expect(isPlainObj(eslintConfigAngular.globals)).to.eql(true)
|
|
})
|
|
})
|
|
|
|
describe('plugins', () => {
|
|
it('should be an array', () => {
|
|
expect(isArray(eslintConfigAngular.plugins)).to.eql(true)
|
|
})
|
|
})
|
|
|
|
describe('rules', () => {
|
|
it('should be an object', () => {
|
|
expect(isPlainObj(eslintConfigAngular.rules)).to.eql(true)
|
|
})
|
|
})
|
|
})
|
|
|