chore(typos): Fix low-impact typos
Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
This commit is contained in:
@@ -51,7 +51,7 @@ export const useCustomFieldExtensions = <
|
||||
}),
|
||||
);
|
||||
|
||||
// This should really be a different type moving foward, but we do this to keep type compatibility.
|
||||
// This should really be a different type moving forward, but we do this to keep type compatibility.
|
||||
// should probably also move the defaults into the API eventually too, but that will come with the move
|
||||
// to the new frontend system.
|
||||
const blueprintsToLegacy: FieldExtensionOptions[] = blueprintFields?.map(
|
||||
|
||||
@@ -65,7 +65,7 @@ describe('hasErrors', () => {
|
||||
otherThing: {},
|
||||
someName: {
|
||||
__errors: [
|
||||
'Accepts alphanumeric values along with _(underscore) and -(hypen) as special characters',
|
||||
'Accepts alphanumeric values along with _(underscore) and -(hyphen) as special characters',
|
||||
],
|
||||
addError: jest.fn(),
|
||||
},
|
||||
|
||||
@@ -44,7 +44,7 @@ describe('TemplateGroups', () => {
|
||||
});
|
||||
|
||||
it('should use the error api if there is an error with the retrieval of entitylist', async () => {
|
||||
const mockError = new Error('tings went poop');
|
||||
const mockError = new Error('things went poop');
|
||||
(useEntityList as jest.Mock).mockReturnValue({
|
||||
error: mockError,
|
||||
});
|
||||
|
||||
@@ -108,7 +108,7 @@ describe('<Workflow />', () => {
|
||||
</ApiProvider>,
|
||||
);
|
||||
|
||||
// Test template title is overriden
|
||||
// Test template title is overridden
|
||||
expect(getByRole('heading', { level: 2 }).innerHTML).toBe(
|
||||
'Different title than template',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user