serverless/test/unit/lib/utils/fs/getTmpDirPath.test.js
2020-11-30 16:53:52 +01:00

12 lines
325 B
JavaScript

'use strict';
const expect = require('chai').expect;
const getTmpDirPath = require('../../../../../lib/utils/fs/getTmpDirPath');
describe('#getTmpDirPath()', () => {
it('should return a scoped tmp dir path', () => {
const tmpDirPath = getTmpDirPath();
expect(tmpDirPath).to.match(/tmpdirs-serverless/);
});
});