mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
14 lines
446 B
JavaScript
14 lines
446 B
JavaScript
'use strict'
|
|
|
|
const { expect } = require('chai')
|
|
const listVersion = require('../../../../lib/cli/render-version')
|
|
const observeOutput = require('@serverless/test/observe-output')
|
|
|
|
describe('test/unit/lib/cli/list-version.test.js', () => {
|
|
it('should log version', async () => {
|
|
const output = await observeOutput(() => listVersion())
|
|
expect(output).to.have.string('Framework Core: ')
|
|
expect(output).to.have.string('SDK: ')
|
|
})
|
|
})
|