2023-06-21 11:56:59 +03:00
|
|
|
const assert = require('assert/strict');
|
2022-10-18 13:48:45 +03:00
|
|
|
const {
|
|
|
|
Tier,
|
|
|
|
TiersAPI,
|
|
|
|
InMemoryTierRepository
|
|
|
|
} = require('../index');
|
|
|
|
|
|
|
|
describe('index.js', function () {
|
|
|
|
it('Exports Tier', function () {
|
|
|
|
assert(Tier === require('../lib/Tier'));
|
|
|
|
});
|
|
|
|
it('Exports TiersAPI', function () {
|
|
|
|
assert(TiersAPI === require('../lib/TiersAPI'));
|
|
|
|
});
|
|
|
|
it('Exports InMemoryTierRepository', function () {
|
|
|
|
assert(InMemoryTierRepository === require('../lib/InMemoryTierRepository'));
|
|
|
|
});
|
|
|
|
});
|