serverless
Version:
Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more
19 lines (14 loc) • 414 B
JavaScript
;
const expect = require('chai').expect;
const selectServicePublish = require('./selectServicePublish');
describe('#selectServicePublish()', () => {
it('should return the publish value of the service object', () => {
const service = {
serviceObject: {
publish: true,
},
};
const result = selectServicePublish(service);
expect(result).to.equal(true);
});
});