mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-12-11 02:09:53 -06:00
Updated changelog
This commit is contained in:
parent
f79bd39de7
commit
635ee6c5eb
@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
* [#430](https://github.com/shlinkio/shlink-web-client/pull/430) Added support to set new and existing short URLs as crawlable, when consuming Shlink >=2.7.
|
* [#430](https://github.com/shlinkio/shlink-web-client/pull/430) Added support to set new and existing short URLs as crawlable, when consuming Shlink >=2.7.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
* [#442](https://github.com/shlinkio/shlink-web-client/pull/442) Visits filtering now goes through the corresponding reducer.
|
||||||
* [#337](https://github.com/shlinkio/shlink-web-client/pull/337) Replaced moment.js with date-fns.
|
* [#337](https://github.com/shlinkio/shlink-web-client/pull/337) Replaced moment.js with date-fns.
|
||||||
* [#360](https://github.com/shlinkio/shlink-web-client/pull/360) Changed component used to generate a tags selector, switching from `react-tagsinput`, which is no longer maintained, to `react-tag-autocomplete`.
|
* [#360](https://github.com/shlinkio/shlink-web-client/pull/360) Changed component used to generate a tags selector, switching from `react-tagsinput`, which is no longer maintained, to `react-tag-autocomplete`.
|
||||||
|
|
||||||
|
|||||||
@ -37,7 +37,6 @@ describe('<OrphanVisits />', () => {
|
|||||||
|
|
||||||
expect(stats).toHaveLength(1);
|
expect(stats).toHaveLength(1);
|
||||||
expect(header).toHaveLength(1);
|
expect(header).toHaveLength(1);
|
||||||
expect(stats.prop('getVisits')).toEqual(getOrphanVisits);
|
|
||||||
expect(stats.prop('cancelGetVisits')).toEqual(cancelGetOrphanVisits);
|
expect(stats.prop('cancelGetVisits')).toEqual(cancelGetOrphanVisits);
|
||||||
expect(stats.prop('visitsInfo')).toEqual(orphanVisits);
|
expect(stats.prop('visitsInfo')).toEqual(orphanVisits);
|
||||||
expect(stats.prop('baseUrl')).toEqual('the_base_url');
|
expect(stats.prop('baseUrl')).toEqual('the_base_url');
|
||||||
|
|||||||
@ -110,9 +110,9 @@ describe('orphanVisitsReducer', () => {
|
|||||||
[ undefined ],
|
[ undefined ],
|
||||||
[{}],
|
[{}],
|
||||||
])('dispatches start and success when promise is resolved', async (query) => {
|
])('dispatches start and success when promise is resolved', async (query) => {
|
||||||
const visits = visitsMocks;
|
const visits = visitsMocks.map((visit) => ({ ...visit, visitedUrl: '' }));
|
||||||
const ShlinkApiClient = buildApiClientMock(Promise.resolve({
|
const ShlinkApiClient = buildApiClientMock(Promise.resolve({
|
||||||
data: visitsMocks,
|
data: visits,
|
||||||
pagination: {
|
pagination: {
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
pagesCount: 1,
|
pagesCount: 1,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user