From a2151cab25b48471770a2a3e3b6c958cdfbb1d95 Mon Sep 17 00:00:00 2001 From: bcheidemann Date: Sun, 7 Mar 2021 15:21:39 +0000 Subject: [PATCH] test: add spec for path shim --- tests/spec/shims/path.spec.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/spec/shims/path.spec.js diff --git a/tests/spec/shims/path.spec.js b/tests/spec/shims/path.spec.js new file mode 100644 index 0000000..0432aca --- /dev/null +++ b/tests/spec/shims/path.spec.js @@ -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); + }); +});