2022-06-27 21:16:07 +00:00
|
|
|
import { expect } from 'chai';
|
2022-06-27 21:17:40 +00:00
|
|
|
import { AstroTelemetry } from '../dist/index.js';
|
2022-06-27 21:16:07 +00:00
|
|
|
|
|
|
|
describe('AstroTelemetry', () => {
|
|
|
|
it('initializes when expected arguments are given', () => {
|
2022-06-27 21:17:40 +00:00
|
|
|
const telemetry = new AstroTelemetry({ version: '0.0.0-test.1' });
|
|
|
|
expect(telemetry).to.be.instanceOf(AstroTelemetry);
|
2022-06-27 21:16:07 +00:00
|
|
|
});
|
|
|
|
});
|