lnked/react-starter

View on GitHub
src/__tests__/predicts.test.js

Summary

Maintainability
A
0 mins
Test Coverage
// import {
//     isInt,
//     // isNull,
//     // isPhone,
//     // isFloat,
//     // compare,
//     // isActive,
//     // isUndefined,
// } from 'helpers/predicts'

test('test', () => {})

// test('isInt(1) to equal true', () => {
//     expect(isInt(1)).toBeTruthy()
// })

// test('isInt("1") to equal false', () => {
//     expect(isInt('1')).toBeFalsy()
// })

// test('isUndefined(param) to equal true', () => {
//     expect(isUndefined('undefined')).toBeTruthy()
// })

// test('isUndefined(param) to equal true', () => {
//     const param = ''
//     expect(isUndefined(param)).toBeFalsy()
// })