Skip to content

Commit

Permalink
Update test to use propsData
Browse files Browse the repository at this point in the history
  • Loading branch information
dfcook committed Dec 27, 2018
1 parent 47c99aa commit d4d8755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/__tests__/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test('Fetch makes an API call and displays the greeting when load-greeting is cl
})
)

const { html, getByText } = render(Fetch, { props: { url: '/greeting' } })
const { html, getByText } = render(Fetch, { propsData: { url: '/greeting' } })

// Act
await fireEvent.click(getByText('Fetch'))
Expand Down

0 comments on commit d4d8755

Please sign in to comment.