Run all linting in Docker via Dockerfile.lint (closes #30) #31
@@ -646,9 +646,13 @@ describe("the resolver reads what the shell would run", () => {
|
|||||||
it("reads the body of a BuildKit heredoc RUN step", () => {
|
it("reads the body of a BuildKit heredoc RUN step", () => {
|
||||||
expect(
|
expect(
|
||||||
dockerRunCommands(
|
dockerRunCommands(
|
||||||
["FROM scratch", "RUN <<EOF", "yarn run prettier --check .", "EOF", "RUN echo done"].join(
|
[
|
||||||
"\n",
|
"FROM scratch",
|
||||||
),
|
"RUN <<EOF",
|
||||||
|
"yarn run prettier --check .",
|
||||||
|
"EOF",
|
||||||
|
"RUN echo done",
|
||||||
|
].join("\n"),
|
||||||
),
|
),
|
||||||
).toContain("yarn run prettier --check .");
|
).toContain("yarn run prettier --check .");
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user