diff --git a/lib/internal/test_runner/mock/mock.js b/lib/internal/test_runner/mock/mock.js index 77b29e1573bb43..1d992a1dba1bfa 100644 --- a/lib/internal/test_runner/mock/mock.js +++ b/lib/internal/test_runner/mock/mock.js @@ -300,9 +300,7 @@ class MockTracker { if (getter === false) { throw new ERR_INVALID_ARG_VALUE( - 'options.getter', - getter, - 'cannot be false', + 'options.getter', getter, 'cannot be false', ); } @@ -342,9 +340,7 @@ class MockTracker { if (setter === false) { throw new ERR_INVALID_ARG_VALUE( - 'options.setter', - setter, - 'cannot be false', + 'options.setter', setter, 'cannot be false', ); }