JS Unit Testing | Part 4 | Writing Our First Test

preview_player
Показать описание
Writing tests in AVA is super easy. We are going to import ava into our file and write a simple, non-passing test to get this project off the ground.

import test from 'ava';

// youtube doesn't allow arrow functions ;)
test('says hello', function(t) {
});
Рекомендации по теме
join shbcf.ru