Skip to content

Conversation

@APshenkin
Copy link
Contributor

undefined args in test break it.

example:

Scenario.only('test', (I) => {
let b;
I.assertEqual(b, 'undefined');
});

expected:

@Test --
 test
 • I assert equal undefined, "undefined"
 ✖ FAILED in 7ms


-- FAILURES:

  1) @Test: test:
     undefined == 'undefined'
  
  Scenario Steps:
  
  - I.assertEqual(undefined, "undefined") at Test.Scenario (tests/test.js:12:5)

actual:

@Test --
 test
 ✖ FAILED in 1ms


-- FAILURES:

  1) @Test: test:
     Cannot read property 'toString' of undefined

This PR will fix the issue

@APshenkin APshenkin requested a review from DavertMik December 1, 2017 09:02
@DavertMik
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants