Unverified Commit 18a64e42 authored by Manoj Pandian Sakthivel's avatar Manoj Pandian Sakthivel Committed by GitHub

Fix test

parent 1a345d4b
Pipeline #104139 passed with stages
in 5 minutes and 54 seconds
......@@ -123,7 +123,7 @@ describe('<PopularSpeciesButton />', () => {
);
});
it('opens species homepage when it is clicked', () => {
it('opens species page when it is clicked', () => {
const wrapper = mount(
<PopularSpeciesButton {...commonProps} isCommitted={true} />
).find('.popularSpeciesButton');
......@@ -131,7 +131,7 @@ describe('<PopularSpeciesButton />', () => {
wrapper.simulate('click');
expect(push).toHaveBeenCalledWith(
urlFor.speciesHomepage({
urlFor.speciesPage({
genomeId: commonProps.species.genome_id
})
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment