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:
parent
f92c2ae830
commit
6852bf6415
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user