Files
30-seconds-of-code/test/URLJoin/URLJoin.test.js
Angelos Chalaris 4f7da1be9b Test migration to jest by hand
Apparently using regular expressions is way easier.
2018-06-18 15:15:56 +03:00

12 lines
219 B
JavaScript

const expect = require('expect');
const URLJoin = require('./URLJoin.js');
test('URLJoin is a Function', () => {
expect(URLJoin).toBeInstanceOf(Function);
});
t.equal(URLJoin('http:
t.equal(URLJoin('file: