-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsmoke.test.js
More file actions
27 lines (22 loc) · 742 Bytes
/
Copy pathsmoke.test.js
File metadata and controls
27 lines (22 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { describe, test, expect } from 'vitest';
describe('Smoke test — script loading', () => {
test('alienese primitives are available', () => {
expect(t).toBe(true);
expect(f).toBe(false);
expect(n).toBe(null);
expect(u).toBe(undefined);
});
test('nne() is a function', () => {
expect(typeof nne).toBe('function');
});
test('Doctre class is available', () => {
expect(typeof Doctre).toBe('function');
});
test('EstreUiPage class is available', () => {
expect(typeof EstreUiPage).toBe('function');
});
test('uis/eds registries exist', () => {
expect(typeof uis).toBe('object');
expect(typeof eds).toBe('object');
});
});