From 65d9231cb44bec1afdabcb2a608604a4f165b19e Mon Sep 17 00:00:00 2001 From: Sid Vishnoi <8426945+sidvishnoi@users.noreply.github.com> Date: Wed, 5 Apr 2023 15:01:03 +0530 Subject: [PATCH] fix(w3c/headers): fix "This Version" link for "Member-SUBM" (#4424) --- src/w3c/headers.js | 1 + tests/spec/w3c/headers-spec.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/w3c/headers.js b/src/w3c/headers.js index f9a7bf6e7b..ba9413a084 100644 --- a/src/w3c/headers.js +++ b/src/w3c/headers.js @@ -114,6 +114,7 @@ const status2maturity = { LS: "WD", LD: "WD", FPWD: "WD", + "Member-SUBM": "SUBM", }; export const status2text = { diff --git a/tests/spec/w3c/headers-spec.js b/tests/spec/w3c/headers-spec.js index 64020d5a5c..67cfbf6f04 100644 --- a/tests/spec/w3c/headers-spec.js +++ b/tests/spec/w3c/headers-spec.js @@ -2063,7 +2063,7 @@ describe("W3C — Headers", () => { }); it("links the right submitting members", async () => { const anchor = doc.querySelector( - "#sotd a[href='https://www.w3.org/Submission/2018/Member-SUBM-yolo-20180525/']" + "#sotd a[href='https://www.w3.org/Submission/2018/SUBM-yolo-20180525/']" ); expect(anchor).toBeTruthy(); });