mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +00:00
add test when exclude is not sent
This commit is contained in:
parent
bff68b4cdf
commit
4b188f0f1b
@ -457,8 +457,36 @@ describe('Transfer engine', () => {
|
|||||||
|
|
||||||
test.each<
|
test.each<
|
||||||
// (givenStages, mustBeCalled, mustNotBeCalled)
|
// (givenStages, mustBeCalled, mustNotBeCalled)
|
||||||
[TransferFilterPreset[], (keyof IDestinationProvider)[], (keyof IDestinationProvider)[]]
|
[
|
||||||
|
TransferFilterPreset[] | undefined,
|
||||||
|
(keyof IDestinationProvider)[],
|
||||||
|
(keyof IDestinationProvider)[]
|
||||||
|
]
|
||||||
>([
|
>([
|
||||||
|
[
|
||||||
|
undefined,
|
||||||
|
[
|
||||||
|
'bootstrap',
|
||||||
|
'createSchemasWriteStream',
|
||||||
|
'createLinksWriteStream',
|
||||||
|
'createEntitiesWriteStream',
|
||||||
|
'createConfigurationWriteStream',
|
||||||
|
'createAssetsWriteStream',
|
||||||
|
],
|
||||||
|
[],
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[],
|
||||||
|
[
|
||||||
|
'bootstrap',
|
||||||
|
'createSchemasWriteStream',
|
||||||
|
'createLinksWriteStream',
|
||||||
|
'createEntitiesWriteStream',
|
||||||
|
'createConfigurationWriteStream',
|
||||||
|
'createAssetsWriteStream',
|
||||||
|
],
|
||||||
|
[],
|
||||||
|
],
|
||||||
[
|
[
|
||||||
['files'],
|
['files'],
|
||||||
[
|
[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user