Change duplicate tests for @babel/highlight getChalk method (#10093)

* removed duplicate tests for @babel/highlight getChalk method

* changed second 'getChalk' test case for when colors are not supported
This commit is contained in:
Letladi Sebesho 2019-06-15 09:04:35 +02:00 committed by Nicolò Ribaudo
parent f92c2ae830
commit 6852bf6415

View File

@ -94,8 +94,8 @@ describe("@babel/highlight", function() {
});
});
describe("when colors are supported", function() {
stubColorSupport(true);
describe("when colors are not supported", function() {
stubColorSupport(false);
describe("when forceColor is not passed", function() {
it("returns a Chalk instance", function() {