Files
30-seconds-of-code/test/detectDeviceType/detectDeviceType.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

11 lines
256 B
JavaScript

const expect = require('expect');
const detectDeviceType = require('./detectDeviceType.js');
test('detectDeviceType is a Function', () => {
expect(detectDeviceType).toBeInstanceOf(Function);
});
t.pass('Tested on 09/02/2018 by @chalarangelo');