Skip to content

Commit

Permalink
Fix: debugUtils being displayed in github jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ezenity committed Nov 29, 2023
1 parent 5cf2226 commit 77d0564
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/utilsTests/setupSpectral.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ describe('setupSpectral Utils:', function () {

before(function () {


process.env.LOG_DEBUG = false;
process.env.DEBUG_DEBUG = false;
process.env.INFO_DEBUG = false;

ruleset = {
rules: {
'rule-one': {
Expand Down Expand Up @@ -37,9 +42,6 @@ describe('setupSpectral Utils:', function () {

it('should return a Spectral instance with a provided ruleset', function () {

process.env.LOG_DEBUG = false;
process.env.DEBUG_DEBUG = false;

const spectral = setupSpectral(ruleset);
expect(spectral).to.be.instanceof(Spectral);
expect(Object.keys(spectral.ruleset.rules)).to.deep.equal(['rule-one', 'rule-two']);
Expand Down

0 comments on commit 77d0564

Please sign in to comment.