/* eslint-env node, mocha */
const expect = require('chai').expect
import accountStatistics from '../src/index'

describe('statistics', () => {
  it('can calculate all statistics', () => {
    const keys = Object.keys(accountStatistics({}))
    expect(keys.length).to.be.above(0)
  })
})

/* eslint-env node, mocha */
const expect = require('chai').expect
import accountStatistics from '../src/index'

describe('statistics', () => {
  it('can calculate all statistics', () => {
    const statistics = accountStatistics({})
    expect(statistics).to.contain.all.keys(['brokenSpoons', 'totalAuras'])
  })
})

Improve test for aggregated statistics