Rules
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last month or quarter.
Every rule from ESLint, Oxlint and Biome. Pick a rule to see its example. Reach is the weekly npm downloads of the presets that enable a rule; trend is its change over the last month or quarter.
No rules match “”.
Popular · 1 of 50
expect(a).toBeCalled()
expect(a).toBeCalledTimes()
expect(a).toBeCalledWith()
expect(a).lastCalledWith()
expect(a).nthCalledWith()
expect(a).toReturn()
expect(a).toReturnTimes()
expect(a).toReturnWith()
expect(a).lastReturnedWith()
expect(a).nthReturnedWith()
expect(a).toThrowError()expect(a).toHaveBeenCalled()
expect(a).toHaveBeenCalledTimes()
expect(a).toHaveBeenCalledWith()
expect(a).toHaveBeenLastCalledWith()
expect(a).toHaveBeenNthCalledWith()
expect(a).toHaveReturned()
expect(a).toHaveReturnedTimes()
expect(a).toHaveReturnedWith()
expect(a).toHaveLastReturnedWith()
expect(a).toHaveNthReturnedWith()
expect(a).toThrow()