* feat: automatically include SoftAssertionService in the core * fix(docs): clarify default inclusion of SoftAssertionService in documentation * feat: add autoAssertOnTestEnd option to control soft assertion behavior * Update website/docs/Configuration.md * Update website/docs/Assertion.md * refactor(docs): reorganize Soft Assertions section for clarity * feat: add SoftAssertionService to expect-webdriverio mock * fix(tests): adjust snapshot formatting for consistency in React component tests --------- Co-authored-by: Christian Bromann <git@bromann.dev>
7 lines
251 B
TypeScript
7 lines
251 B
TypeScript
import { vi } from 'vitest'
|
|
process.env.WDIO_ASSERTION_LIB_ACTIVATED = '1'
|
|
const setOptions = vi.fn()
|
|
const expect = vi.fn()
|
|
const matchers = new Map()
|
|
const SoftAssertionService = vi.fn()
|
|
export { setOptions, expect, matchers, SoftAssertionService }
|