Final fixes, all tests running

This commit is contained in:
Angelos Chalaris
2018-06-18 20:41:57 +03:00
parent 977adb1198
commit e9594e6355
49 changed files with 2189 additions and 1198 deletions

View File

@ -24,8 +24,8 @@ test('zip([a], [1, 2], [true, false]) returns an Array', () => {
expect(Array.isArray(zip(['a'], [1, 2], [true, false]))).toBeTruthy();
});
test('zip(null) throws an error', () => {
expect(zip(null)).toThrow();
expect(() => {zip(null);}).toThrow();
});
test('zip(undefined) throws an error', () => {
expect(zip(undefined)).toThrow();
expect(() => {zip(undefined);}).toThrow();
});