mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
Fix tests
This commit is contained in:
parent
db3d81b221
commit
631cee14d1
@ -51,7 +51,7 @@ Wrapper.propTypes = {
|
||||
};
|
||||
|
||||
const setup = () =>
|
||||
render(<BlocksToolbar />, {
|
||||
render(<BlocksToolbar disabled={false} />, {
|
||||
wrapper: Wrapper,
|
||||
});
|
||||
|
||||
@ -244,7 +244,7 @@ describe('BlocksEditor toolbar', () => {
|
||||
});
|
||||
|
||||
it('when image is selected, it will set modal dialog open to select the images', async () => {
|
||||
render(<BlocksDropdown />, {
|
||||
render(<BlocksDropdown disabled={false} />, {
|
||||
wrapper: Wrapper,
|
||||
});
|
||||
|
||||
@ -263,7 +263,7 @@ describe('BlocksEditor toolbar', () => {
|
||||
});
|
||||
|
||||
it('when code option is selected and if its the last block in the editor then new empty block should be inserted below it', async () => {
|
||||
render(<BlocksDropdown />, {
|
||||
render(<BlocksDropdown disabled={false} />, {
|
||||
wrapper: Wrapper,
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user