There is no reason for spreading the user-provided options before adding the defaultIntegrations. This changes the order to allow overriding and allowing passing defaultIntegrations: false. Also added tests for that
Came up in this review comment of another PR: #18671 (comment)