mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
c1a3e80dfe
* Migrate Telemetry tests to node:test * Remove fallback to chai * Remove chai and mocha dependencies * Fix trailing comma * Fix pnpm-lock.yaml desync * Add back old tests with progression * Remove mocha tests again * Remove trailing comma
10 lines
337 B
JavaScript
10 lines
337 B
JavaScript
import assert from 'node:assert/strict';
|
|
import { describe, it } from 'node:test';
|
|
import { GlobalConfig } from '../dist/config.js';
|
|
|
|
describe('GlobalConfig', () => {
|
|
it('initializes when expected arguments are given', () => {
|
|
const config = new GlobalConfig({ name: 'TEST_NAME' });
|
|
assert(config instanceof GlobalConfig);
|
|
});
|
|
});
|