serverless/test/unit/lib/utils/fs/get-tmp-dir-path.test.js
2022-01-27 15:21:58 +01:00

12 lines
328 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/);
});
});