Skip to content

Commit

Permalink
created undef var
Browse files Browse the repository at this point in the history
  • Loading branch information
nktnet committed Oct 12, 2023
1 parent 4a57bbc commit cfff07e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/variables/variables.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@ test('Empty array', () => {
});

test('Undefined variable', () => {
expect(undefinedVariable).toStrictEqual(undefined);
const undef = undefined;
expect(undefinedVariable).toStrictEqual(undef);
});

0 comments on commit cfff07e

Please sign in to comment.