mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-11 10:03:51 +00:00
Moved style to the proper scope
This commit is contained in:
@@ -17,7 +17,7 @@ describe('<ShortUrlVisitsCount />', () => {
|
||||
it('just returns visits when no maxVisits is provided', () => {
|
||||
const visitsCount = 45;
|
||||
const wrapper = createWrapper({ visitsCount });
|
||||
const maxVisitsHelper = wrapper.find('.short-urls-row__max-visits-control');
|
||||
const maxVisitsHelper = wrapper.find('.short-urls-visits-count__max-visits-control');
|
||||
const maxVisitsTooltip = wrapper.find(UncontrolledTooltip);
|
||||
|
||||
expect(wrapper.html()).toEqual(`<span>${visitsCount}</span>`);
|
||||
@@ -30,7 +30,7 @@ describe('<ShortUrlVisitsCount />', () => {
|
||||
const maxVisits = 500;
|
||||
const meta = { maxVisits };
|
||||
const wrapper = createWrapper({ visitsCount, meta });
|
||||
const maxVisitsHelper = wrapper.find('.short-urls-row__max-visits-control');
|
||||
const maxVisitsHelper = wrapper.find('.short-urls-visits-count__max-visits-control');
|
||||
const maxVisitsTooltip = wrapper.find(UncontrolledTooltip);
|
||||
|
||||
expect(wrapper.html()).toContain(`/ ${maxVisits}`);
|
||||
|
||||
Reference in New Issue
Block a user