Skip to content

Commit

Permalink
chore(devDeps): update 'ESLint' to v8 (#4926)
Browse files Browse the repository at this point in the history
Signed-off-by: Outsider <outsideris@gmail.com>
  • Loading branch information
outsideris authored Sep 27, 2022
1 parent 4e06a6f commit 51d4746
Show file tree
Hide file tree
Showing 14 changed files with 638 additions and 552 deletions.
18 changes: 9 additions & 9 deletions lib/interfaces/bdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ module.exports = function bddInterface(suite) {

context.describe = context.context = function (title, fn) {
return common.suite.create({
title: title,
file: file,
fn: fn
title,
file,
fn
});
};

Expand All @@ -55,9 +55,9 @@ module.exports = function bddInterface(suite) {
context.describe.skip =
function (title, fn) {
return common.suite.skip({
title: title,
file: file,
fn: fn
title,
file,
fn
});
};

Expand All @@ -67,9 +67,9 @@ module.exports = function bddInterface(suite) {

context.describe.only = function (title, fn) {
return common.suite.only({
title: title,
file: file,
fn: fn
title,
file,
fn
});
};

Expand Down
8 changes: 4 additions & 4 deletions lib/interfaces/qunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ module.exports = function qUnitInterface(suite) {
suites.shift();
}
return common.suite.create({
title: title,
file: file,
title,
file,
fn: false
});
};
Expand All @@ -64,8 +64,8 @@ module.exports = function qUnitInterface(suite) {
suites.shift();
}
return common.suite.only({
title: title,
file: file,
title,
file,
fn: false
});
};
Expand Down
18 changes: 9 additions & 9 deletions lib/interfaces/tdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ module.exports = function (suite) {
*/
context.suite = function (title, fn) {
return common.suite.create({
title: title,
file: file,
fn: fn
title,
file,
fn
});
};

Expand All @@ -58,9 +58,9 @@ module.exports = function (suite) {
*/
context.suite.skip = function (title, fn) {
return common.suite.skip({
title: title,
file: file,
fn: fn
title,
file,
fn
});
};

Expand All @@ -69,9 +69,9 @@ module.exports = function (suite) {
*/
context.suite.only = function (title, fn) {
return common.suite.only({
title: title,
file: file,
fn: fn
title,
file,
fn
});
};

Expand Down
2 changes: 1 addition & 1 deletion lib/reporters/json-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function JSONStream(runner, options) {
var total = runner.total;

runner.once(EVENT_RUN_BEGIN, function () {
writeEvent(['start', {total: total}]);
writeEvent(['start', {total}]);
});

runner.on(EVENT_TEST_PASS, function (test) {
Expand Down
2 changes: 1 addition & 1 deletion lib/reporters/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function Markdown(runner, options) {
var ret = obj;
var key = SUITE_PREFIX + suite.title;

obj = obj[key] = obj[key] || {suite: suite};
obj = obj[key] = obj[key] || {suite};
suite.suites.forEach(function (suite) {
mapTOC(suite, obj);
});
Expand Down
Loading

0 comments on commit 51d4746

Please sign in to comment.