Test migration to jest by hand
Apparently using regular expressions is way easier.
This commit is contained in:
3
test/getType/getType.js
Normal file
3
test/getType/getType.js
Normal file
@ -0,0 +1,3 @@
|
||||
const getType = v =>
|
||||
v === undefined ? 'undefined' : v === null ? 'null' : v.constructor.name.toLowerCase();
|
||||
module.exports = getType;
|
||||
Reference in New Issue
Block a user