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

11 lines (9 loc) 450 B
"use strict"; describe("assertion - expectUndefined", function () { it("Execution & Verification", function () { common.assertion.expectUndefined(undefined); expect(() => common.assertion.expectUndefined(0)).toThrow(/Received\w*|\d*|\s*0/); expect(() => common.assertion.expectUndefined(null)).toThrow(/Received\w*|\d*|\s*null/); expect(() => common.assertion.expectUndefined(false)).toThrow(/Received\w*|\d*|\s*false/); }); });