mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
chore: run prettier against test config files
This commit is contained in:
parent
b5ac303363
commit
a4dff049cd
@ -11,7 +11,8 @@ __snapshots__
|
||||
CHANGELOG.md
|
||||
coverage
|
||||
dist
|
||||
fixtures
|
||||
**/fixtures/*/*
|
||||
!**/fixtures/*/*.ts
|
||||
input.*
|
||||
node_modules
|
||||
package-lock.json
|
||||
|
||||
@ -1,5 +1 @@
|
||||
export const steps = [
|
||||
{ x: true },
|
||||
{ x: false },
|
||||
{ x: true },
|
||||
];
|
||||
export const steps = [{ x: true }, { x: false }, { x: true }];
|
||||
|
||||
@ -1 +1,4 @@
|
||||
export const steps = [{ c: true, d: true }, { c: false, d: false }];
|
||||
export const steps = [
|
||||
{ c: true, d: true },
|
||||
{ c: false, d: false },
|
||||
];
|
||||
|
||||
@ -2,4 +2,4 @@ export const steps = [{}, click, click, click];
|
||||
|
||||
function click(container: Element) {
|
||||
container.querySelector("button")!.click();
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
export const steps = [{}];
|
||||
export const skip_dom = true;
|
||||
export const skip_dom = true;
|
||||
|
||||
@ -25,4 +25,3 @@ function toggle(id: string) {
|
||||
(container.querySelector(`#c-${id} > button`) as HTMLButtonElement).click();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
export const steps = [{ name: "World" }];
|
||||
export const skip_csr = true;
|
||||
export const skip_resume = false;
|
||||
export const skip_resume = false;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
export const steps = [{}, click, click, click, click]
|
||||
export const steps = [{}, click, click, click, click];
|
||||
|
||||
function click(container: Element) {
|
||||
container.querySelector("button")!.click();
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
export const steps = [{}, click]
|
||||
export const steps = [{}, click];
|
||||
|
||||
function click(container: Element) {
|
||||
container.querySelector("button")!.click();
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1,4 +1,13 @@
|
||||
export const steps = [{}, clickInner, clickMiddle, clickOuter, clickInner, clickMiddle, clickOuter, clickOuter];
|
||||
export const steps = [
|
||||
{},
|
||||
clickInner,
|
||||
clickMiddle,
|
||||
clickOuter,
|
||||
clickInner,
|
||||
clickMiddle,
|
||||
clickOuter,
|
||||
clickOuter,
|
||||
];
|
||||
|
||||
function clickOuter(container: Element) {
|
||||
container.querySelector<HTMLButtonElement>("button#outer")!.click();
|
||||
|
||||
@ -1,4 +1,13 @@
|
||||
export const steps = [{}, clickInner, clickMiddle, clickOuter, clickInner, clickMiddle, clickOuter, clickOuter];
|
||||
export const steps = [
|
||||
{},
|
||||
clickInner,
|
||||
clickMiddle,
|
||||
clickOuter,
|
||||
clickInner,
|
||||
clickMiddle,
|
||||
clickOuter,
|
||||
clickOuter,
|
||||
];
|
||||
|
||||
function clickOuter(container: Element) {
|
||||
container.querySelector<HTMLButtonElement>("button#outer")!.click();
|
||||
|
||||
@ -6,5 +6,5 @@ function type(value: string) {
|
||||
const window = input.ownerDocument.defaultView!;
|
||||
input.value = value;
|
||||
input.dispatchEvent(new window.Event("input", { bubbles: true }));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,4 +1,12 @@
|
||||
export const steps = [{}, clickRemove, clickRemove, clickRemove, clickAdd, clickAdd, clickAdd];
|
||||
export const steps = [
|
||||
{},
|
||||
clickRemove,
|
||||
clickRemove,
|
||||
clickRemove,
|
||||
clickAdd,
|
||||
clickAdd,
|
||||
clickAdd,
|
||||
];
|
||||
|
||||
function clickAdd(container: Element) {
|
||||
container.querySelector<HTMLButtonElement>(".add")!.click();
|
||||
|
||||
@ -6,5 +6,5 @@ function type(value: string) {
|
||||
const window = textarea.ownerDocument.defaultView!;
|
||||
textarea.value = value;
|
||||
textarea.dispatchEvent(new window.Event("input", { bubbles: true }));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
export const steps = [{}]
|
||||
export const error_compiler = ['template.marko']
|
||||
export const steps = [{}];
|
||||
export const error_compiler = ["template.marko"];
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
export const steps = [{}]
|
||||
export const error_compiler = ['template.marko']
|
||||
export const steps = [{}];
|
||||
export const error_compiler = ["template.marko"];
|
||||
|
||||
@ -10,5 +10,4 @@ const reset = (container: Element) => {
|
||||
container.querySelector<HTMLButtonElement>("button.reset")!.click();
|
||||
};
|
||||
|
||||
|
||||
export const steps = [{}, increment_child, increment_parent, reset];
|
||||
|
||||
@ -2,4 +2,4 @@ export const steps = [{}, click, click, click];
|
||||
|
||||
function click(container: Element) {
|
||||
container.querySelector("button")!.click();
|
||||
}
|
||||
}
|
||||
|
||||
@ -2,4 +2,4 @@ export const steps = [{}, click, click, click];
|
||||
|
||||
function click(container: Element) {
|
||||
container.querySelector("button")!.click();
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,5 +6,4 @@ const reset = (container: Element) => {
|
||||
container.querySelector<HTMLButtonElement>("button.reset")!.click();
|
||||
};
|
||||
|
||||
|
||||
export const steps = [{}, increment, increment, reset, increment];
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
export const steps = [{ show: true, dynamic: "div" }]
|
||||
export const steps = [{ show: true, dynamic: "div" }];
|
||||
export const skip_csr = true;
|
||||
export const skip_ssr = true;
|
||||
export const skip_ssr = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
// export const error_compiler = true;
|
||||
export const skip_ssr = true;
|
||||
export const skip_csr = true;
|
||||
export const skip_csr = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
export const error_compiler = true;
|
||||
export const error_compiler = true;
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
import { wait } from "../../utils/resolve";
|
||||
|
||||
export const steps = [{}, wait(1)]
|
||||
export const steps = [{}, wait(1)];
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
import { wait } from "../../utils/resolve";
|
||||
|
||||
export const steps = [{}, wait(1)]
|
||||
export const steps = [{}, wait(1)];
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
export const steps = [{ show: true }]
|
||||
export const steps = [{ show: true }];
|
||||
|
||||
export const skip_equivalent = true;
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
export const steps = [{ show: true }]
|
||||
export const steps = [{ show: true }];
|
||||
|
||||
export const skip_equivalent = true;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user