UNPKG

@sap_oss/wdio-qmate-service

Version:

[![REUSE status](https://api.reuse.software/badge/github.com/SAP/wdio-qmate-service)](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[![Node.js CI](https://github.com/SAP/wdio-qmate-service/actions/workflows/node.js.yml/badge.svg)](http

24 lines (21 loc) 550 B
describe("formatter - stringifyJSON", function () { let input; let expected; let stringified; describe("stringifyJSON - happy case", async function () { it("Preparation", function () { input = { "a": 123, "b": 456, "c": 789 }; expected = JSON.stringify(input); }); it("Execution", function () { stringified = util.formatter.stringifyJSON(input); }); it("Verification", async function () { await common.assertion.expectEqual(stringified, expected); }); }); });