Remove instance normalizer
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -3,12 +3,12 @@ import React from 'react';
|
||||
import { __stub } from 'soapbox/api';
|
||||
import { buildGroup } from 'soapbox/jest/factory';
|
||||
import { render, screen, waitFor } from 'soapbox/jest/test-helpers';
|
||||
import { normalizeInstance } from 'soapbox/normalizers';
|
||||
import { instanceSchema } from 'soapbox/schemas';
|
||||
|
||||
import Search from './search';
|
||||
|
||||
const store = {
|
||||
instance: normalizeInstance({
|
||||
instance: instanceSchema.parse({
|
||||
version: '3.4.1 (compatible; TruthSocial 1.0.0+unreleased)',
|
||||
}),
|
||||
};
|
||||
|
||||
@ -3,7 +3,7 @@ import React from 'react';
|
||||
|
||||
import { buildAccount } from 'soapbox/jest/factory';
|
||||
import { render, screen, waitFor } from 'soapbox/jest/test-helpers';
|
||||
import { normalizeInstance } from 'soapbox/normalizers';
|
||||
import { instanceSchema } from 'soapbox/schemas';
|
||||
|
||||
import Discover from './discover';
|
||||
|
||||
@ -32,7 +32,7 @@ const store: any = {
|
||||
},
|
||||
}),
|
||||
},
|
||||
instance: normalizeInstance({
|
||||
instance: instanceSchema.parse({
|
||||
version: '3.4.1 (compatible; TruthSocial 1.0.0)',
|
||||
software: 'TRUTHSOCIAL',
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user