reactors
Version:
View components and APIs that work web, mobile and desktop!
13 lines (10 loc) • 347 B
JavaScript
/* globals global describe expect test */
import guessPlatform from '../../../app/API/Core/guessPlatform';
describe('API / Core / guessPlatform', () => {
test('it should be a function', () => {
expect(guessPlatform).toBeInstanceOf(Function);
});
test('it should be node', () => {
expect(guessPlatform()).toEqual('node');
});
});