From 34f12fb3e94b8ed89b38a38093366c38db0cdd85 Mon Sep 17 00:00:00 2001 From: Stanislav Seliverstov Date: Sat, 22 Aug 2020 17:45:28 +0300 Subject: [PATCH] fix environment.properties (via #207) --- packages/allure-js-commons/src/writers/AllureWriter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/allure-js-commons/src/writers/AllureWriter.ts b/packages/allure-js-commons/src/writers/AllureWriter.ts index a75923942..046cfc94b 100644 --- a/packages/allure-js-commons/src/writers/AllureWriter.ts +++ b/packages/allure-js-commons/src/writers/AllureWriter.ts @@ -27,7 +27,7 @@ export class AllureWriter implements IAllureWriter { } writeEnvironmentInfo(info?: Record) { - const text = JSON.stringify(info); + const text = stringify(info, { unicode: true }).toString(); const path = this.buildPath("environment.properties"); writeFileSync(path, text); }