mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 00:11:49 +03:00
19 lines
506 B
JavaScript
19 lines
506 B
JavaScript
|
const assert = require('assert');
|
||
|
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'));
|
||
|
});
|
||
|
});
|