Skip to content

Commit

Permalink
commented out more console logs placed for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
aattiyah committed Oct 19, 2024
1 parent 0dcf635 commit 8362fcd
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/bug-report-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ const path = require('path');
const assert = require('assert');

describe('Bug Report Form', () => {
console.log('*'.repeat(20));
console.log('Beginning of the test');
//console.log('*'.repeat(20));

Check failure on line 9 in test/bug-report-form.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces

Check failure on line 9 in test/bug-report-form.js

View workflow job for this annotation

GitHub Actions / test

Expected exception block, space or tab after '//' in comment
//console.log('Beginning of the test');

Check failure on line 10 in test/bug-report-form.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces

Check failure on line 10 in test/bug-report-form.js

View workflow job for this annotation

GitHub Actions / test

Expected exception block, space or tab after '//' in comment
let dom;

Check failure on line 11 in test/bug-report-form.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
let document;

Check failure on line 12 in test/bug-report-form.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces

before((done) => {

Check failure on line 14 in test/bug-report-form.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
console.log('Setting up the test');
// console.log('Setting up the test');

Check failure on line 15 in test/bug-report-form.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 2 tabs but found 8 spaces
const html = fs.readFileSync(path.resolve(__dirname, '../src/views/bug-report-form.tpl'), 'utf8');

Check failure on line 16 in test/bug-report-form.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 2 tabs but found 8 spaces
dom = new JSDOM(html, { runScripts: 'dangerously' });
document = dom.window.document;
done();
console.log(html);
// console.log(html);
});

it('should fetch data upon submition', (done) => {
Expand Down Expand Up @@ -138,6 +138,4 @@ describe('Bug Report Form', () => {
assert.strictEqual(descriptionTextarea.validationMessage, 'Constraints not satisfied');
});



});

0 comments on commit 8362fcd

Please sign in to comment.