0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/telemetry/test/config.test.js

11 lines
337 B
JavaScript
Raw Normal View History

import assert from 'node:assert/strict';
import { describe, it } from 'node:test';
2022-06-27 16:17:40 -05:00
import { GlobalConfig } from '../dist/config.js';
describe('GlobalConfig', () => {
it('initializes when expected arguments are given', () => {
2022-06-27 16:17:40 -05:00
const config = new GlobalConfig({ name: 'TEST_NAME' });
assert(config instanceof GlobalConfig);
});
});