-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathglobal.test.js
More file actions
34 lines (31 loc) · 1.25 KB
/
global.test.js
File metadata and controls
34 lines (31 loc) · 1.25 KB
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
const Test = require('thunk-test')
const assert = require('assert')
require('./global')
const test = new Test('global', async function integration() {
assert.equal(typeof WebSocket, 'function')
assert.equal(typeof AwsCredentials, 'function')
assert.equal(typeof Docker, 'function')
assert.equal(typeof DynamoDBGlobalSecondaryIndex, 'function')
assert.equal(typeof DynamoDBStream, 'function')
assert.equal(typeof DynamoDBTable, 'function')
assert.equal(typeof ECR, 'function')
assert.equal(typeof HTTP, 'function')
assert.equal(typeof NpmToken, 'function')
assert.equal(typeof OptionalValidator, 'function')
assert.equal(typeof Password, 'object')
assert.equal(typeof Readable, 'object')
assert.equal(typeof S3Bucket, 'function')
assert.equal(typeof SecretsManager, 'function')
assert.equal(typeof StrictValidator, 'function')
assert.equal(typeof TranscribeStream, 'function')
assert.equal(typeof WebSocket, 'function')
assert.equal(typeof WebSocketServer, 'function')
assert.equal(typeof WebSocketSecureServer, 'function')
assert.equal(typeof ServerWebSocket, 'function')
assert.equal(typeof XML, 'object')
assert.equal(typeof userAgent, 'string')
}).case()
if (process.argv[1] == __filename) {
test()
}
module.exports = test