-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.js
More file actions
26 lines (20 loc) · 775 Bytes
/
test.js
File metadata and controls
26 lines (20 loc) · 775 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
import test from 'ava';
import sport from './index.js';
test('sport unusual return type to be string', t => {
t.is(typeof sport().unusual(), 'string');
});
test('sport ancient olympics return type to be string', t => {
t.is(typeof sport().ancientOlympics(), 'string');
});
test('sport summer olympics return type to be string', t => {
t.is(typeof sport().summerOlympics(), 'string');
});
test('sport summer paralympics return type to be string', t => {
t.is(typeof sport().summerParalympics(), 'string');
});
test('sport winter olympics return type to be string', t => {
t.is(typeof sport().winterOlympics(), 'string');
});
test('sport winter paralympics return type to be string', t => {
t.is(typeof sport().winterParalympics(), 'string');
});