From 9f9e1175283f619af725aacbf1b4dee189494592 Mon Sep 17 00:00:00 2001 From: Maxim Karpov Date: Mon, 1 Apr 2024 16:04:41 +0300 Subject: [PATCH] feat: add static local serve mode for langs --- .../load-custom-resources.spec.ts.snap | 20 +++++++++---------- tests/e2e/__snapshots__/metadata.spec.ts.snap | 10 +++++----- tests/e2e/__snapshots__/rtl.spec.ts.snap | 6 +++--- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/e2e/__snapshots__/load-custom-resources.spec.ts.snap b/tests/e2e/__snapshots__/load-custom-resources.spec.ts.snap index 34fc422a..bac5f018 100644 --- a/tests/e2e/__snapshots__/load-custom-resources.spec.ts.snap +++ b/tests/e2e/__snapshots__/load-custom-resources.spec.ts.snap @@ -156,11 +156,11 @@ exports[`Allow load custom resources md2html single page with custom resources 4 /n"},"router":{"pathname":"project/config.html"},"lang":"ru","langs":["ru"]}; @@ -418,11 +418,11 @@ exports[`Allow load custom resources md2html with custom resources 4`] = ` /n"},"router":{"pathname":"project/config.html"},"lang":"ru","langs":["ru"]}; diff --git a/tests/e2e/__snapshots__/metadata.spec.ts.snap b/tests/e2e/__snapshots__/metadata.spec.ts.snap index 63086417..cd266a8c 100644 --- a/tests/e2e/__snapshots__/metadata.spec.ts.snap +++ b/tests/e2e/__snapshots__/metadata.spec.ts.snap @@ -163,11 +163,11 @@ exports[`Allow load custom resources md2html with metadata 4`] = ` @@ -180,15 +180,15 @@ exports[`Allow load custom resources md2html with metadata 4`] = `

/n"},"router":{"pathname":"project/config.html"},"lang":"ru","langs":["ru"]}; diff --git a/tests/e2e/__snapshots__/rtl.spec.ts.snap b/tests/e2e/__snapshots__/rtl.spec.ts.snap index 3244c968..8ff4f7cc 100644 --- a/tests/e2e/__snapshots__/rtl.spec.ts.snap +++ b/tests/e2e/__snapshots__/rtl.spec.ts.snap @@ -345,7 +345,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre If you are not redirected automatically, follow this - + link to example .