@vitest/expect
Jest's expect matchers as a Chai plugin
Last updated a year ago by oreanno .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install @vitest/expect 
SYNC missed versions from official npm registry.

@vitest/expect

Jest's expect matchers as a Chai plugin.

Usage

import * as chai from 'chai'
import { JestAsymmetricMatchers, JestChaiExpect, JestExtend } from '@vitest/expect'

// allows using expect.extend instead of chai.use to extend plugins
chai.use(JestExtend)
// adds all jest matchers to expect
chai.use(JestChaiExpect)
// adds asymmetric matchers like stringContaining, objectContaining
chai.use(JestAsymmetricMatchers)

Current Tags

  • 0.34.4                                ...           latest (a year ago)

37 Versions

  • 0.34.4                                ...           a year ago
  • 0.34.3                                ...           a year ago
  • 0.34.2                                ...           a year ago
  • 0.34.1                                ...           a year ago
  • 0.34.0                                ...           a year ago
  • 0.33.0                                ...           a year ago
  • 0.32.4                                ...           a year ago
  • 0.32.3                                ...           a year ago
  • 0.32.2                                ...           a year ago
  • 0.32.1                                ...           a year ago
  • 0.32.0                                ...           a year ago
  • 0.31.4                                ...           2 years ago
  • 0.31.3                                ...           2 years ago
  • 0.31.2                                ...           2 years ago
  • 0.31.1                                ...           2 years ago
  • 0.31.0                                ...           2 years ago
  • 0.30.1                                ...           2 years ago
  • 0.30.0                                ...           2 years ago
  • 0.29.8                                ...           2 years ago
  • 0.29.7                                ...           2 years ago
  • 0.29.6                                ...           2 years ago
  • 0.29.5                                ...           2 years ago
  • 0.29.4                                ...           2 years ago
  • 0.29.3                                ...           2 years ago
  • 0.29.2                                ...           2 years ago
  • 0.29.1                                ...           2 years ago
  • 0.29.0                                ...           2 years ago
  • 0.28.5                                ...           2 years ago
  • 0.28.4                                ...           2 years ago
  • 0.28.3                                ...           2 years ago
  • 0.28.2                                ...           2 years ago
  • 0.28.1                                ...           2 years ago
  • 0.28.0                                ...           2 years ago
  • 0.27.3                                ...           2 years ago
  • 0.27.2                                ...           2 years ago
  • 0.27.1                                ...           2 years ago
  • 0.27.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |