Skip to content

Commit

Permalink
Removed redundant parens
Browse files Browse the repository at this point in the history
  • Loading branch information
jouni-kantola committed Sep 11, 2020
1 parent f4a17d2 commit b0c306b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/plugin-init-test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import test from "ava";
import Plugin from "../lib/plugin";

test("fallback to rule set for all JavaScript and CSS files", (t) => {
test("fallback to rule set for all JavaScript and CSS files", t => {
const { rules } = new Plugin().pluginOptions;
t.true(Array.isArray(rules));
t.is(rules.length, 1);
Expand All @@ -12,7 +12,7 @@ test("fallback to rule set for all JavaScript and CSS files", (t) => {
t.false(rule.test.test("an-svg-file.abc1234.svg"));
});

test("init rules", (t) => {
test("init rules", t => {
const { rules } = new Plugin({
rules: [{ name: "an-entry" }]
}).pluginOptions;
Expand Down

0 comments on commit b0c306b

Please sign in to comment.