-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.js
44 lines (36 loc) · 1.04 KB
/
test.js
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
const chai = require('chai');
const assert = chai.assert;
describe('files', function () {
describe('export', function () {
it('should export pdf', function () {
assert.isTrue(true);
});
it('should export html', function () {
assert.isTrue(true);
});
it('should export yml', function () {
assert.isTrue(true);
});
it('should export text', function () {
if (Math.random() < 0.5) {
throw new Error('An exception occurred');
} else {
assert.isTrue(true);
}
});
});
describe('import', function () {
it('should import pdf', function () {
assert.isTrue(true);
});
it('should import html', function () {
assert.isTrue(true);
});
it('should import yml', function () {
assert.isTrue(true);
});
it('should import text', function () {
assert.isTrue(true);
});
});
});