毕设专用git仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
tangxinyuan a963ea0e3e 各部分代码 2 months ago
..
dist 各部分代码 2 months ago
LICENSE 各部分代码 2 months ago
README.md 各部分代码 2 months ago
index.d.ts 各部分代码 2 months ago
package.json 各部分代码 2 months ago

README.md

@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)