pages build and deployment #94
GitHub Actions / Tests Results (9.x, 20.x, macos-latest)
succeeded
Jan 5, 2025 in 0s
41 passed, 0 failed and 0 skipped
✅ reports/tests.json
41 tests were completed in 310ms with 41 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/rules/dprint-dockerfile.ts | 5✅ | 37ms | ||
test/rules/dprint-json.ts | 5✅ | 17ms | ||
test/rules/dprint-malva.ts | 7✅ | 20ms | ||
test/rules/dprint-marhup.ts | 5✅ | 11ms | ||
test/rules/dprint-markdown.ts | 5✅ | 28ms | ||
test/rules/dprint-toml.ts | 4✅ | 10ms | ||
test/rules/dprint-typescript.ts | 10✅ | 128ms |
✅ test/rules/dprint-dockerfile.ts
dprint/dockerfile invalid
✅ FROM ubuntu:latest
COPY--chown=user:use test.txt /dir/\u000d
\u000d
✅ FROM ubuntu:latest
ENV TEST equality
dprint/dockerfile valid
✅ FROM ubuntu:latest
✅ FROM ubuntu:latest\u000d
✅ Unknown language file
✅ test/rules/dprint-json.ts
dprint/json invalid
✅ {
"hello": "world"
}
✅ {
"hello": "world"} //comment
dprint/json valid
✅ { "hello": "world" } // comment
✅ { "hello": "world" } //comment
✅ Unknown language file
✅ test/rules/dprint-malva.ts
dprint-plugin-malva invalid
✅ .test { color: #f00; }
dprint-plugin-malva valid
✅ .test
color: #ff0000
✅ .test {
color: #f00;
}
✅ .test {
color: #ff0000;
}
✅ .test {
color: #ff0000;
}
✅ .test {
color: #FF0000;
}
✅ Unknown language file
✅ test/rules/dprint-marhup.ts
dprint-plugin-markup invalid
✅ <html>
<head> </head></html>
dprint-plugin-markup valid
✅ <html>
<head></head>
</html>
✅ <html>
</html>
✅ <html></html>
✅ Unknown language file
✅ test/rules/dprint-markdown.ts
dprint/markdown invalid
✅ __STRONG__
✅ # Title
texte
dprint/markdown valid
✅ __STRONG__
✅ **STRONG**
✅ Unknown language file
✅ test/rules/dprint-toml.ts
dprint/toml invalid
✅ [hello]
who ="World" #comment
dprint/toml valid
✅ [hello]
who = "World" # comment
✅ [hello]
who = "World" #comment
✅ Unknown language file
✅ test/rules/dprint-typescript.ts
dprint/typescript invalid
✅ console . log('hello!')
✅ console.log("hello!");;;
✅ const loc = d.type === "added"
? sourceCode.getLocFromIndex(d.range[0])
: {
start: sourceCode.getLocFromIndex(d.range[0]),
end: sourceCode.getLocFromIndex(d.range[1]),
};
✅ const loc = d.type === "added" ?
sourceCode.getLocFromIndex(d.range[0]) :
{
start: sourceCode.getLocFromIndex(d.range[0]),
end: sourceCode.getLocFromIndex(d.range[1]),
};
✅ type TFormatFileText =
typeof import("@dprint/core").formatText;
✅ type TypeScriptPlugin =
typeof import("dprint-plugin-typescript").TypeScriptPlugin;
✅ type TypeScriptPlugin = typeof import("dprint-plugin-typescript").TypeScriptPlugin;
dprint/typescript valid
✅ console.log('hello!');
✅ console.log("hello!");
✅ Unknown language file
Loading