-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.test.ts
56 lines (30 loc) · 1.07 KB
/
index.test.ts
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
45
46
47
48
49
50
51
52
53
54
55
56
import { expect } from 'chai';
import './index';
describe( `ts-helpers`, () => {
const hasOwnProperty = Object.prototype.hasOwnProperty;
it( `should work`, () => {
expect( true ).to.equal( true );
} );
describe( `__assign`, () => {
it( `should exist on global`, () => {
expect( hasOwnProperty.call( global, '__assign' ) ).to.equal( true );
} );
} );
describe( `__extends`, () => {
it( `should exists on global`, () => {
expect( hasOwnProperty.call( global, '__extends' ) ).to.equal( true );
} );
} );
describe( `__awaiter`, () => {
it( `should exists on global`, () => {
expect( hasOwnProperty.call( global, '__awaiter' ) ).to.equal( true );
} );
} );
describe( `__decorate, __param, __metadata`, () => {
it( `should exists on global`, () => {
expect( hasOwnProperty.call( global, '__decorate' ) ).to.equal( true );
expect( hasOwnProperty.call( global, '__param' ) ).to.equal( true );
expect( hasOwnProperty.call( global, '__metadata' ) ).to.equal( true );
} );
} );
} );