Codacy style changes for test files
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
const timeTaken = callback => {
|
||||
console.time('timeTaken');
|
||||
const r = callback();
|
||||
console.timeEnd('timeTaken');
|
||||
return r;
|
||||
console.time('timeTaken');
|
||||
const r = callback();
|
||||
console.timeEnd('timeTaken');
|
||||
return r;
|
||||
};
|
||||
|
||||
module.exports = timeTaken;
|
||||
Reference in New Issue
Block a user