Skip to content

Commit 1398e17

Browse files
committed
[refactor] Format deployment parity contract
Signed-off-by: Viwat Vchirawongkwin <viwat.v@chula.ac.th>
1 parent c37909e commit 1398e17

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎tools/web/src/test/vps-deployment-contract.test.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ describe("Cloudflare-fronted VPS deployment", () => {
9595
"utf8",
9696
);
9797
const parityIndex = script.indexOf("verify_remote_runtime_config");
98-
const buildIndex = script.indexOf("NEXT_TELEMETRY_DISABLED=1 npm run check");
98+
const buildIndex = script.indexOf(
99+
"NEXT_TELEMETRY_DISABLED=1 npm run check",
100+
);
99101
const uploadIndex = script.search(/\brsync\b/);
100102

101103
expect(parityIndex).toBeGreaterThan(-1);
@@ -104,9 +106,7 @@ describe("Cloudflare-fronted VPS deployment", () => {
104106
expect(script).toContain(
105107
"/etc/nginx/sites-available/10-pyble-dev-https.conf",
106108
);
107-
expect(script).toContain(
108-
"/etc/nginx/snippets/pyble-security-headers.conf",
109-
);
109+
expect(script).toContain("/etc/nginx/snippets/pyble-security-headers.conf");
110110
expect(script).toMatch(
111111
/verify_remote_runtime_config\(\)[\s\S]*?shasum[\s\S]*?ssh[\s\S]*?sha256sum[\s\S]*?(?:mismatch|differs)/i,
112112
);

0 commit comments

Comments
 (0)