astro/packages/telemetry/test/index.test.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
311 B
JavaScript
Raw Normal View History

import { expect } from 'chai';
2022-06-27 21:17:40 +00:00
import { AstroTelemetry } from '../dist/index.js';
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);
});
});