Skip to content

Commit 14869f0

Browse files
committed
chore: format
1 parent 9eaa84f commit 14869f0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/js/color-scheme-switch-two-states/init-script.test.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ const scriptPath = path.resolve(process.cwd(), "scripts/ColorSchemeSwitchTwoStat
88
const DEFAULT_DARK = "dark";
99
const DEFAULT_LIGHT = "light";
1010

11-
function runInitScript({
12-
dark = DEFAULT_DARK,
13-
light = DEFAULT_LIGHT,
14-
functionName = "colorSchemeInit",
15-
matchMediaMatches = false,
16-
} = {}) {
11+
function runInitScript({ dark = DEFAULT_DARK, light = DEFAULT_LIGHT, functionName = "colorSchemeInit", matchMediaMatches = false } = {}) {
1712
// Load the template and substitute placeholders like PHP does
1813
let src = fs.readFileSync(scriptPath, "utf8");
1914
src = src.replaceAll("__FUNCTION_NAME__", functionName).replaceAll("__DARK__", dark).replaceAll("__LIGHT__", light);

0 commit comments

Comments
 (0)