# @types/mochaccino

> TypeScript definitions for mochaccino

Latest version **1.2.10** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/mochaccino
pnpm add @types/mochaccino
yarn add @types/mochaccino
bun add @types/mochaccino
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.2.10 |
| Published | 2023-11-07 |
| First published | 2017-11-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/mochaccino
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mochaccino
- npm.io page: https://npm.io/package/@types/mochaccino

## Dependencies (1)

- [@types/sinon](https://npm.io/package/@types/sinon.md) *

## Recent versions

- 1.2.10 (latest) — 2023-11-07
- 1.2.7 (ts3.2) — 2020-09-26
- 1.2.6 (ts2.8) — 2020-03-31
- 1.2.2 (ts2.3) — 2018-05-10
- 1.2.9 — 2023-10-18
- 1.2.8 — 2023-09-27
- 1.2.5 — 2018-12-12
- 1.2.4 — 2018-11-18
- 1.2.3 — 2018-05-24
- 1.2.1 — 2018-05-09
- 1.2.0 — 2017-11-14

## README

# Installation
> `npm install --save @types/mochaccino`

# Summary
This package contains type definitions for mochaccino (https://github.com/pawelgalazka/mochaccino#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mochaccino.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mochaccino/index.d.ts)
````ts
import * as Sinon from "sinon";
export interface Expect {
    not: Expect;
    toBe(arg: any): void;
    toContain(arg: any): void;
    toEqual(arg: any): void;
    toHaveBeenCalled(): void;
    toHaveBeenCalledWith(...arg: any[]): void;
    toHaveBeenCalledTimes(callCount: number): void;
    toBeDefined(): void;
    toBeUndefined(): void;
    toBeNull(): void;
    toBeTruthy(): void;
    toBeFalsy(): void;
    toBeLessThan(other: number): void;
    toBeGreaterThan(other: number): void;
    toThrow(): void;
    toThrowError(errType: any): void;
    toMatch(matchExpression: any): void;
}
export interface SpyProxy {
    and: SpyProxy;
    spyProxy: true;
    getSubject: () => Sinon.SinonStub;
    callThrough: () => void;
    returnValue: (obj: any) => void;
    callFake: (fake: (...args: any[]) => any) => void;
}
export interface Dom {
    exposedProperties: ["window", "navigator", "document"];
    create: () => void;
    destroy: () => void;
    clear: () => void;
}
export function expect(value: any): Expect;
export function spy(...config: any[]): (...args: any[]) => SpyProxy;
export const dom: Dom;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/sinon](https://npmjs.com/package/@types/sinon)

# Credits
These definitions were written by [Thomas-P](https://github.com/thomas-p).

---
_Source: https://npm.io/package/@types/mochaccino · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
