From 3e88aeca92b2bbb4637fcd73cf1e753a6ec39a85 Mon Sep 17 00:00:00 2001 From: Ben Heidemann <56122437+bcheidemann@users.noreply.github.com> Date: Sun, 21 Mar 2021 17:57:34 +0000 Subject: [PATCH] Fix issue #766: Remove describe.only from shim tests (#767) * test: replace describe.only in shim tests with describes so all tests run * test: move require chai to top of file for consistency with other tests * chore: npm install * test: replace describe.only in shim tests with describes so all tests run * test: move require chai to top of file for consistency with other tests * chore: npm install * Revert "chore: npm install" This reverts commit cddeef421bc51e3549faf7dc97c2817504200472. * Revert "test: move require chai to top of file for consistency with other tests" This reverts commit 40df7912fb0de31f796cc8e58afd40da87808929. --- tests/spec/shims/buffer.spec.js | 2 +- tests/spec/shims/fs.spec.js | 2 +- tests/spec/shims/path.spec.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/spec/shims/buffer.spec.js b/tests/spec/shims/buffer.spec.js index 888207a..6c1b705 100644 --- a/tests/spec/shims/buffer.spec.js +++ b/tests/spec/shims/buffer.spec.js @@ -4,7 +4,7 @@ const bufferDefault = require('../../../shims/buffer').default; const bufferNamed = require('../../../shims/buffer').Buffer; const bufferActual = require('../../../src/index').Buffer; -describe.only('path shim', () => { +describe('path shim', () => { it('default export should be defined', () => { expect(bufferDefault).to.not.be.undefined; }); diff --git a/tests/spec/shims/fs.spec.js b/tests/spec/shims/fs.spec.js index d8fb5a4..b4ee04b 100644 --- a/tests/spec/shims/fs.spec.js +++ b/tests/spec/shims/fs.spec.js @@ -3,7 +3,7 @@ const expect = require('chai').expect; const utils = require('../../lib/test-utils'); const fs = utils.shimIndexedDB(() => require('../../../shims/fs').default); -describe.only('fs shim', () => { +describe('fs shim', () => { it('should be defined', () => { expect(fs).to.not.be.undefined; }); diff --git a/tests/spec/shims/path.spec.js b/tests/spec/shims/path.spec.js index 0432aca..721a6d0 100644 --- a/tests/spec/shims/path.spec.js +++ b/tests/spec/shims/path.spec.js @@ -3,7 +3,7 @@ const expect = require('chai').expect; const path = require('../../../shims/path').default; const pathActual = require('../../../src/index').path; -describe.only('path shim', () => { +describe('path shim', () => { it('should be defined', () => { expect(path).to.not.be.undefined; });