mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +00:00
chore: move helper-plugin folder to just src
This commit is contained in:
parent
6b2e6b84a3
commit
4fff8c4b04
@ -1,4 +1,5 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
.eslintrc.js
|
.eslintrc.js
|
||||||
build/
|
build/
|
||||||
lib/src/utils/**
|
# TODO: we should fix this.
|
||||||
|
src/utils/**
|
||||||
|
|||||||
@ -65,8 +65,8 @@ function setupDatetimePicker(props) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* We extend the timeout of these tests because the DS
|
* We extend the timeout of these tests because the DS
|
||||||
* DateTimePicker has a slow rendering issue at the moment.
|
* DateTimePicker has a slow rendering issue at the moment.
|
||||||
* It passes locally, but fails in the CI.
|
* It passes locally, but fails in the CI.
|
||||||
*/
|
*/
|
||||||
jest.setTimeout(50000);
|
jest.setTimeout(50000);
|
||||||
@ -169,7 +169,7 @@ describe('GenericInput', () => {
|
|||||||
await act(async () => {
|
await act(async () => {
|
||||||
await user.click(numberDayBtn);
|
await user.click(numberDayBtn);
|
||||||
});
|
});
|
||||||
|
|
||||||
const today = new Date();
|
const today = new Date();
|
||||||
const month = today.getMonth() + 1;
|
const month = today.getMonth() + 1;
|
||||||
const year = today.getFullYear();
|
const year = today.getFullYear();
|
||||||
@ -189,6 +189,6 @@ describe('GenericInput', () => {
|
|||||||
|
|
||||||
expect(getByRole('textbox', { name: 'datetime picker' })).toHaveValue('');
|
expect(getByRole('textbox', { name: 'datetime picker' })).toHaveValue('');
|
||||||
expect(getByRole('combobox', { name: /datetime picker/i })).toHaveValue('');
|
expect(getByRole('combobox', { name: /datetime picker/i })).toHaveValue('');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user