diff --git a/package.json b/package.json index d906bb88..87a3c079 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "lint-fix": "eslint --cache --ext '.js,.jsx' src test --fix", "test": "run-s just-test-in-node lint-errors", "test-in-node": "run-s lint-errors just-test-in-node", - "just-test-in-node": "mocha --require test/setup.js --recursive --compilers js:babel-core/register test/core test/components test/bugs test/swagger-ui-dist-package test/xss", + "just-test-in-node": "mocha --require test/setup.js --recursive --compilers js:babel-core/register --require source-map-support test/core test/components test/bugs test/swagger-ui-dist-package test/xss", "just-check-coverage": "nyc npm run just-test-in-node", "test-e2e": "sleep 3 && nightwatch test/e2e/scenarios/ --config test/e2e/nightwatch.json", "e2e-initial-render": "nightwatch test/e2e/scenarios/ --config test/e2e/nightwatch.json --group initial-render", diff --git a/test/core/plugins/oas3/helpers.js b/test/core/plugins/oas3/helpers.js index 693858a0..5af7b9b8 100644 --- a/test/core/plugins/oas3/helpers.js +++ b/test/core/plugins/oas3/helpers.js @@ -10,7 +10,7 @@ const isSwagger2Shorthand = (version) => isSwagger2(fromJS({ swagger: version })) -describe.only("isOAS3", function () { +describe("isOAS3", function () { it("should recognize valid OAS3 version values", function () { expect(isOAS3Shorthand("3.0.0")).toEqual(true) expect(isOAS3Shorthand("3.0.1")).toEqual(true) @@ -39,7 +39,7 @@ describe.only("isOAS3", function () { }) }) -describe.only("isSwagger2", function () { +describe("isSwagger2", function () { it("should recognize valid Swagger 2.0 version values", function () { expect(isSwagger2Shorthand("2.0")).toEqual(true) expect(isSwagger2Shorthand("2.0-rc0")).toEqual(true)