2022-06-27 21:16:07 +00:00
|
|
|
import { expect } from 'chai';
|
2022-06-27 21:17:40 +00:00
|
|
|
import { GlobalConfig } from '../dist/config.js';
|
2022-06-27 21:16:07 +00:00
|
|
|
|
|
|
|
describe('GlobalConfig', () => {
|
|
|
|
it('initializes when expected arguments are given', () => {
|
2022-06-27 21:17:40 +00:00
|
|
|
const config = new GlobalConfig({ name: 'TEST_NAME' });
|
|
|
|
expect(config).to.be.instanceOf(GlobalConfig);
|
2022-06-27 21:16:07 +00:00
|
|
|
});
|
|
|
|
});
|