mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
12 lines
321 B
JavaScript
12 lines
321 B
JavaScript
'use strict'
|
|
|
|
const expect = require('chai').expect
|
|
const getTmpDirPath = require('../../../../../lib/utils/fs/get-tmp-dir-path')
|
|
|
|
describe('#getTmpDirPath()', () => {
|
|
it('should return a scoped tmp dir path', () => {
|
|
const tmpDirPath = getTmpDirPath()
|
|
expect(tmpDirPath).to.match(/tmpdirs-serverless/)
|
|
})
|
|
})
|