Project to study unit testing in JS and Mocha.
based on:
the book "JavaScript Tworzenia nowoczesnych aplikacji webowych" by Tomasz Sochacki
and YT channel @AniaKubow
#How to run:
Open index.html in Your favorite browser
#Task 1
task1.html contains function arraySum, which add's all elements in array.
test1.html contains unit tests for task1.html
#Task 2
Write a function which return array of unique elements
task2.html contains function unique, which returns unique values of array.
test2.html contains unit tests for task2.html
#Task 3
Write a function which return outer join of two arrays.
task3.html contains function outerJoin, which returns outer join of 2 arrays.
test3.html contains unit tests for task3.html
#Task 4
Write a function which return frequency of occurrence of an element in the array.