Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
test(createServer): rename assertions with a more descriptive title
Browse files Browse the repository at this point in the history
  • Loading branch information
samouss committed Jan 3, 2019
1 parent ff972da commit af8f7c2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe('createInstantSearchServer', () => {
});

describe('single index', () => {
it('results shoud be SearchResults from the helper', () => {
it('results shoud be instance of SearchResults', () => {
const { InstantSearch } = createInstantSearchServer();

const props = {
Expand Down Expand Up @@ -221,7 +221,7 @@ describe('createInstantSearchServer', () => {
});

describe('find results', () => {
it('results shoud be SearchResults and SearchParameters from the helper', async () => {
it('results shoud be instance of SearchResults and SearchParameters', async () => {
const { InstantSearch, findResultsState } = createInstantSearchServer();

const getSearchParameters = jest.fn();
Expand Down Expand Up @@ -335,7 +335,7 @@ describe('createInstantSearchServer', () => {
describe('multi index', () => {
const Index = createIndex({ Root: 'div' });

it('results shoud be SearchResults from the helper', () => {
it('results shoud be instance of SearchResults', () => {
const { InstantSearch } = createInstantSearchServer();

const props = {
Expand Down Expand Up @@ -383,7 +383,7 @@ describe('createInstantSearchServer', () => {
});

describe('find results', () => {
it('results shoud be SearchResults and SearchParameters from the helper', async () => {
it('results shoud be instance of SearchResults and SearchParameters', async () => {
const { InstantSearch, findResultsState } = createInstantSearchServer();

const getSearchParameters = jest.fn();
Expand Down

0 comments on commit af8f7c2

Please sign in to comment.