mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
14 lines
479 B
JavaScript
14 lines
479 B
JavaScript
'use strict'
|
|
|
|
const { expect } = require('chai')
|
|
const renderGeneralHelp = require('../../../../../lib/cli/render-help/general')
|
|
const observeOutput = require('@serverless/test/observe-output')
|
|
|
|
describe('test/unit/lib/cli/render-help/general.test.js', () => {
|
|
it('should show help', async () => {
|
|
const output = await observeOutput(() => renderGeneralHelp(new Set()))
|
|
expect(output).to.have.string('Usage')
|
|
expect(output).to.have.string('deploy function')
|
|
})
|
|
})
|