UNPKG

framer-motion

Version:

An open source and production-ready motion library for React on the web

8 lines (6 loc) • 235 B
import { eachAxis } from "../each-axis" describe("eachAxis", () => { test("Fires the callback once for each axis and returns an array with the results", () => { expect(eachAxis(axis => axis)).toEqual(["x", "y"]) }) })