{"size": 930, "ext": "js", "max_stars_repo_path": "test/unit/specs/const_spec.js", "max_stars_repo_name": "zorojs/zoro-base", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "test/unit/specs/const_spec.js", "max_issues_repo_name": "zorojs/zoro-base", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/unit/specs/const_spec.js", "max_forks_repo_name": "zorojs/zoro-base", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.1363636364, "max_line_length": 52, "alphanum_fraction": 0.5892473118}
/**
* @Author: Yingya Zhang <zyy>
* @Date:   2016-07-08 11:29:00
* @Email:  zyy7259@gmail.com
* @Last modified by:   zyy
* @Last modified time: 2016-07-10 13:26:30
*/

import {
  o,
  emptyObj,
  f,
  emptyFunc,
  regBlank,
  regWhiteSpace
} from 'const'

describe('const', () => {
  it('o', () => {
    expect(o).toEqual(jasmine.any(Object))
  })
  it('emptyObj', () => {
    expect(emptyObj).toEqual(jasmine.any(Object))
  })
  it('f', () => {
    expect(f).toEqual(jasmine.any(Function))
  })
  it('emptyFunc', () => {
    expect(emptyFunc).toEqual(jasmine.any(Function))
  })
  it('regBlank', () => {
    const blank = ' '
    expect(regBlank.test(blank)).toBe(true)
    const noBlank = ''
    expect(regBlank.test(noBlank)).toBe(false)
  })
  it('regWhiteSpace', () => {
    const blank = ' '
    expect(regWhiteSpace.test(blank)).toBe(true)
    const noBlank = ''
    expect(regWhiteSpace.test(noBlank)).toBe(false)
  })
})
