npm.io
6.7.0 • Published 3d ago

@rjsf/snapshot-tests

Licence
Apache-2.0
Version
6.7.0
Deps
0
Size
185 kB
Vulns
0
Weekly
0
Stars
15.8K

Build Status npm npm downloads Contributors Apache 2.0 License


Logo

@rjsf/snapshot-tests

A set of snapshot tests to be used for testing RJSF themes.
Explore the docs »

View Playground · Report Bug · Request Feature

Table of Contents

About The Project

Package with snapshot test suits for testing themes for react-jsonschema-form.

Getting Started

Installation
npm install @rjsf/snapshot-tests

Usage

import { arrayTests } from '@rjsf/snapshot-tests'; // OR
// import { formTests } from '@rjsf/snapshot-tests';
// import { gridTests } from '@rjsf/snapshot-tests';
// import { objectTests } from '@rjsf/snapshot-tests';

import Form from '../src';

arrayTests(Form); // OR
// formTests(Form);
// gridTests(Form);
// objectTests(Form);

Roadmap

See the general open issues.

Contributing

Read our contributors' guide to get started.

Contact

rjsf team: https://github.com/orgs/rjsf-team/people

GitHub repository: https://github.com/rjsf-team/react-jsonschema-form

Keywords