Files
shields/services/testspace/testspace-base.spec.js
2021-07-09 12:53:55 +01:00

12 lines
410 B
JavaScript

import { expect } from 'chai'
import { NotFound } from '../index.js'
import TestspaceBase from './testspace-base.js'
describe('TestspaceBase', function () {
it('throws NotFound when response is missing space results', function () {
expect(() => TestspaceBase.prototype.transformCaseCounts([]))
.to.throw(NotFound)
.with.property('prettyMessage', 'space not found or results purged')
})
})