test: add spec for path shim
This commit is contained in:
parent
3a8a59d362
commit
a2151cab25
|
@ -0,0 +1,14 @@
|
||||||
|
'use strict';
|
||||||
|
const expect = require('chai').expect;
|
||||||
|
const path = require('../../../shims/path').default;
|
||||||
|
const pathActual = require('../../../src/index').path;
|
||||||
|
|
||||||
|
describe.only('path shim', () => {
|
||||||
|
it('should be defined', () => {
|
||||||
|
expect(path).to.not.be.undefined;
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should be re-exposing path', () => {
|
||||||
|
expect(path).to.equal(pathActual);
|
||||||
|
});
|
||||||
|
});
|
Loading…
Reference in New Issue