How To Test With Jest Definition