Fix timelines test
This commit is contained in:
parent
7e83039999
commit
256d7825ee
1 changed files with 2 additions and 2 deletions
|
@ -13,13 +13,13 @@ describe('shouldFilter', () => {
|
|||
|
||||
it('reblog: returns true when `shows.reblog == false`', () => {
|
||||
const columnSettings = fromJS({ shows: { reblog: false } });
|
||||
const status = buildStatus({ reblog: {} });
|
||||
const status = buildStatus({ reblog: buildStatus() as any });
|
||||
expect(shouldFilter(status, columnSettings)).toBe(true);
|
||||
});
|
||||
|
||||
it('reblog: returns false when `shows.reblog == true`', () => {
|
||||
const columnSettings = fromJS({ shows: { reblog: true } });
|
||||
const status = buildStatus({ reblog: {} });
|
||||
const status = buildStatus({ reblog: buildStatus() as any });
|
||||
expect(shouldFilter(status, columnSettings)).toBe(false);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue