Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misprint in the test #18

Open
Semigradsky opened this issue Aug 5, 2015 · 1 comment
Open

Misprint in the test #18

Semigradsky opened this issue Aug 5, 2015 · 1 comment

Comments

@Semigradsky
Copy link

http://tddbin.com/#?kata=es6/language/arrow-functions/binding
Description of test is:

can NOT bind a different context

but assert is:

assert.strictEqual(fn.call(anotherObj), expected);

It looks that meant notStrictEqual

Semigradsky added a commit to Semigradsky/katas that referenced this issue Aug 5, 2015
@wolframkriesing
Copy link
Collaborator

you can set the line var anotherObj = {}; to var anotherObj = bound; and the test works

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

No branches or pull requests

2 participants