-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.js
More file actions
25 lines (22 loc) · 725 Bytes
/
test.js
File metadata and controls
25 lines (22 loc) · 725 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
// Copyright (c) Gestalt Authors 2018. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
'use strict';
const expect = require('chai').expect;
describe('Gestalt provider', () => {
const Gestalt = require('./lib');
it('creates a new instance', () => {
const serverless = {
pluginManager: {
setProvider: () => {},
addPlugin() {}
},
cli: {
log: console.log
}
};
const opts = {};
const gestalt = new Gestalt(serverless, opts);
expect(gestalt).to.exist;
expect(gestalt.serverless).to.exist;
});
});