Skip to content

Commit 5f09d5f

Browse files
committed
Fixed inability to run tests when TEST ENV vars weren't set
Signed-off-by: Mark Evans <[email protected]>
1 parent a1936ee commit 5f09d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/client-harness.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ global.Paho = Paho
6565

6666

6767
function ensureValue(prop, value) {
68-
if (prop === '' || prop[0] === '$') {
68+
if (prop === undefined || prop === '' || prop[0] === '$') {
6969
return value
7070
}
7171
return prop

0 commit comments

Comments
 (0)