'use strict'

const CLIEngine = require('eslint').CLIEngine
const expect = require('chai').expect
const config = require('../')

describe('config', () => {
  it('is valid', () => {
    const cli = new CLIEngine({
      useEslintrc: false,
      configFile: 'eslintrc.json'
    })

    const code = 'var foo = 1\nvar bar = function () {}\nbar(foo)\n'
    expect(cli.executeOnText(code).errorCount).to.be.equal(0)
  })

  it('extends standard', () => {
    expect(config.extends[0]).to.be.equal('standard')
  })

  it('includes valid-jsdoc', () => {
    expect(config.rules['valid-jsdoc']).not.to.be.null
  })
})


@@ -389,27 +389,24 @@
 orCount).to.
-be.
 equal(0)%0A  %7D
@@ -414,23 +414,29 @@
 %0A%0A  it('
+should 
 extend
-s
  standar
@@ -480,19 +480,16 @@
 %5B0%5D).to.
-be.
 equal('s
@@ -496,16 +496,468 @@
 tandard'
+)%0A  %7D)%0A%0A  it('should include camelcase', () =%3E %7B%0A    expect(config.rules.camelcase).not.to.equal(undefined)%0A  %7D)%0A%0A  it('should include complexity', () =%3E %7B%0A    expect(config.rules.complexity).not.to.equal(undefined)%0A  %7D)%0A%0A  it('should include max-len', () =%3E %7B%0A    expect(config.rules%5B'max-len'%5D).not.to.equal(undefined)%0A  %7D)%0A%0A  it('should include no-unused-expressions', () =%3E %7B%0A    expect(config.rules%5B'no-unused-expressions'%5D).not.to.equal(undefined
 )%0A  %7D)%0A%0A
@@ -966,16 +966,22 @@
 it('
+should 
 include
-s
  val
@@ -1050,15 +1050,24 @@
 .to.
-be.null
+equal(undefined)
 %0A  %7D

Fix test