Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bun:test (tracking) #1529

Closed
13 of 83 tasks
dylan-conway opened this issue Nov 19, 2022 · 2 comments
Closed
13 of 83 tasks

bun:test (tracking) #1529

dylan-conway opened this issue Nov 19, 2022 · 2 comments
Labels
tracking An umbrella issue for tracking big features

Comments

@dylan-conway
Copy link
Member

dylan-conway commented Nov 19, 2022

test

  • test.skip
  • test.skipIf
  • test.runIf
  • test.only
  • test.concurrent
  • test.todo
  • test.fails
  • test.each

describe

  • describe.skip
  • describe.only
  • describe.concurrent
  • describe.shuffle
  • describe.todo
  • describe.each

expect

  • not
  • toBe
  • toBeCloseTo
  • toBeDefined
  • toBeUndefined
  • toBeTruthy
  • toBeFalsy
  • toBeNull
  • toBeNaN
  • toBeTypeOf
  • toBeInstanceOf
  • toBeGreaterThan
  • toBeGreaterThanOrEqual
  • toBeLessThan
  • toBeLessThanOrEqual
  • toEqual
  • toStrictEqual
  • toContain
  • toContainEqual
  • toHaveLength
  • toHaveProperty
  • toMatch
  • toMatchObject
  • toThrowError
  • toMatchSnapshot
  • toMatchInlineSnapshot
  • toThrowErrorMatchingSnapshot
  • toThrowErrorMatchingInlineSnapshot
  • toHaveBeenCalled
  • toHaveBeenCalledTimes
  • toHaveBeenCalledWith
  • toHaveBeenLastCalledWith
  • toHaveBeenNthCalledWith
  • toHaveReturned
  • toHaveReturnedTimes
  • toHaveReturnedWith
  • toHaveLastReturnedWith
  • toHaveNthReturnedWith
  • toSatisfy
  • resolves
  • rejects
  • expect.assertions
  • expect.hasAssertions
  • expect.anything
  • expect.any
  • expect.arrayContaining
  • expect.objectContaining
  • expect.stringContaining
  • expect.stringMatching
  • expect.addSnapshotSerializer
  • expect.extend

mock methods

  • getMockName
  • mockClear
  • mockName
  • mockImplementation
  • mockImplementationOnce
  • mockRejectedValue
  • mockRejectedValueOnce
  • mockReset
  • mockRestore
  • mockResolvedValue
  • mockResolvedValueOnce
  • mockReturnThis
  • mockReturnValue
  • mockReturnValueOnce

mock properties

  • mock.calls
  • mock.lastCall
  • mock.results
  • mock.instances
@dylan-conway dylan-conway added the tracking An umbrella issue for tracking big features label Nov 19, 2022
@Jarred-Sumner
Copy link
Collaborator

Let's not do the type checking ones from vitest for now. It'll need integration with tsc which we should think about carefully

@Electroid
Copy link
Contributor

Closing in favor of #1825

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracking An umbrella issue for tracking big features
Projects
None yet
Development

No branches or pull requests

3 participants