Skip to content

Commit

Permalink
Included suspense-service from src directory instead of package direc…
Browse files Browse the repository at this point in the history
…tory for testing
  • Loading branch information
patrickroberts committed Sep 25, 2020
1 parent d2947da commit eb0d13f
Show file tree
Hide file tree
Showing 3 changed files with 353 additions and 360 deletions.
2 changes: 1 addition & 1 deletion features/support/context/background.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { Given } from '@cucumber/cucumber';
import World from '../world';
import { Context, createContext, useContext } from '../../..';
import { Context, createContext, useContext } from '../../../src';

const createComponent = (Context: Context<string>, Element: keyof JSX.IntrinsicElements) => (
(props: { id?: string | null }) => {
Expand Down
2 changes: 1 addition & 1 deletion features/support/context/declarations.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { DataTable, Given } from '@cucumber/cucumber';
import World from '../world';
import { Context } from '../../..';
import { Context } from '../../../src';

Given(
'I declare a {string} consumer named {string} with the props',
Expand Down
Loading

0 comments on commit eb0d13f

Please sign in to comment.