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

Неправильный тест test/03-arrays-tests.js, 'insertItem' #4

Open
Wan-Derer opened this issue Oct 1, 2023 · 0 comments

Comments

@Wan-Derer
Copy link

В файле test/03-arrays-tests.js, в тесте метода insertItem задано неправильное условие. Начиная с 230 строки надо так:

].forEach((data) => {
// tasks.insertItem(data.arr, data.item, data.index);
assert.deepEqual(
data.expected,
tasks.insertItem(data.arr, data.item, data.index), // исправлено
);
});
});

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

1 participant