serverless/test/unit/lib/utils/fs/get-tmp-dir-path.test.js
2024-05-29 11:51:04 -04:00

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/)
})
})