Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit b10e25a

Browse files
committed
Use truthy check
1 parent b980837 commit b10e25a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test-promise-handling.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ const tester = options => {
99
test(`one parameter and correct options returns without errors (${counter})`, t => {
1010
t.notThrows(() => {
1111
versionCheck(options).then(update => {
12-
t.true(update !== undefined);
13-
t.true(update !== null);
12+
t.truthy(update);
1413
t.is(update.name, 'axelrindle/github-version-checker');
1514
});
1615
});

0 commit comments

Comments
 (0)