Skip to content

Commit

Permalink
Day 3 add eslint-disable for jest method
Browse files Browse the repository at this point in the history
  • Loading branch information
kzlsakal committed Dec 15, 2020
1 parent 777475c commit 262b9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion challenges/2020/03.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const solvePuzzle = (input) => {
return slopes.reduce((acc, slope) => acc * skiDown(input, ...slope), 1);
};

// eslint-disable-next-line no-undef
test('Puzzle Result', (done) => {
const fs = require('fs');
const path = require('path');
Expand All @@ -39,5 +40,4 @@ test('Puzzle Result', (done) => {
console.log('\x1b[1m\x1b[31m%s\x1b[0m', 'Result:', result);
done();
});
//expect(result).toEqual('test');
});

0 comments on commit 262b9f1

Please sign in to comment.