serverless/lib/utils/fs/getTmpDirPath.test.js
2019-07-26 13:36:22 +02:00

12 lines
299 B
JavaScript

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