Skip to content

Instantly share code, notes, and snippets.

View ruanlinos's full-sized avatar

Ruan Linos Alves ruanlinos

View GitHub Profile
import {shallow} from "enzyme";
import React, {ReactElement, ReactNode} from "react";
import {Input} from "../Input";
import * as Formik from 'formik';
describe('Input component testing', () => {
let wrapper: any;
const useFormikContextMock = jest.spyOn(Formik, 'useFormikContext');
beforeEach(() => {
This file has been truncated, but you can view the full file.
# Version: 202307172006
# Description: Block. Don't break.
# Title: oisd big
# Last modified: 2023-07-17T20:06:15+0000
# Expires: 1 hours
# Homepage: https://oisd.nl
# Syntax: Domains
# License: CC BY-NC-SA 4.0
# Maintainer: Stephan van Ruth (sjhgvr)
# Contact: [email protected]