Socket
Socket
Sign inDemoInstall

@types/jest-json-schema

Package Overview
Dependencies
2
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jest-json-schema

TypeScript definitions for jest-json-schema


Version published
Maintainers
1
Created

Readme

Source

Installation

npm install --save @types/jest-json-schema

Summary

This package contains type definitions for jest-json-schema (https://github.com/americanexpress/jest-json-schema#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-json-schema.

index.d.ts

// Type definitions for jest-json-schema 6.1
// Project: https://github.com/americanexpress/jest-json-schema#readme
// Definitions by: Matt Scheurich <https://github.com/lvl99>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.3

/// <reference types="jest" />
import * as ajv from 'ajv';

declare global {
    namespace jest {
        interface Matchers<R, T> {
            toBeValidSchema(): R;
            toMatchSchema(schema: object): R;
        }
    }
}

export const matchers: jest.ExpectExtendMap;
export type Options = ajv.Options & { AjvClass?: any };
export function matchersWithOptions(options: Options, extendAjv?: (ajv: ajv.Ajv) => void): jest.ExpectExtendMap;

Additional Details

  • Last updated: Fri, 17 Jun 2022 12:01:40 GMT
  • Dependencies: @types/ajv, @types/jest
  • Global values: none

Credits

These definitions were written by Matt Scheurich.

FAQs

Package last updated on 17 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc