Number.parseFloat.js 201 B

12345
  1. test("basic functionality", () => {
  2. // Ensuring it's the same function as the global
  3. // parseFloat() is enough as that already has tests :^)
  4. expect(Number.parseFloat).toBe(parseFloat);
  5. });