Skip to content

Instantly share code, notes, and snippets.

View giulianovarriale's full-sized avatar

Giuliano Varriale giulianovarriale

View GitHub Profile
import { fireEvent } from '@testing-library/react';
import { sampleSize } from 'lodash';
import * as React from 'react';
import { AGREEMENT_CATEGORY_SUGGESTIONS } from '../../../../domainSubsequentAgreement/constants/agreement-form-value-constants';
import renderWithRedux from '../../../../testUtils/renderWithRedux';
import CategoryFilterContainer from '../CategoryFilterContainer';
describe('CategoryFilterContainer', () => {
it('updates the store category filter value when user interacts with', () => {
const [category1, category2] = sampleSize(AGREEMENT_CATEGORY_SUGGESTIONS, 2);
@giulianovarriale
giulianovarriale / 0_reuse_code.js
Created June 24, 2017 14:55
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@giulianovarriale
giulianovarriale / github-snippets.md
Last active October 10, 2016 14:11
Github Snippets

Delete all local branch, except master

git branch | grep -v "master" | xargs git branch -D