2021-03-07 15:21:39 +00:00
|
|
|
'use strict';
|
|
|
|
const expect = require('chai').expect;
|
2021-04-04 02:26:08 +00:00
|
|
|
const path = require('../../../shims/path');
|
2021-03-07 15:21:39 +00:00
|
|
|
const pathActual = require('../../../src/index').path;
|
|
|
|
|
2021-03-21 17:57:34 +00:00
|
|
|
describe('path shim', () => {
|
2021-03-07 15:21:39 +00:00
|
|
|
it('should be defined', () => {
|
|
|
|
expect(path).to.not.be.undefined;
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should be re-exposing path', () => {
|
|
|
|
expect(path).to.equal(pathActual);
|
|
|
|
});
|
|
|
|
});
|