···727727 if (isPreview && resolved.browser.screenshotFailures === true) {
728728 console.warn(c.yellow(
729729 [
730730- `Browser provider "preview" doesn't support screenshots, `,
731731- `so "browser.screenshotFailures" option is forcefully disabled. `,
732732- `Set "browser.screenshotFailures" to false or remove it from the config to suppress this warning.`,
730730+ 'Browser provider "preview" doesn\'t support screenshots, ',
731731+ 'so "browser.screenshotFailures" option is forcefully disabled. ',
732732+ 'Set "browser.screenshotFailures" to false or remove it from the config to suppress this warning.',
733733 ].join(''),
734734 ))
735735 resolved.browser.screenshotFailures = false
···741741 if (stdProvider === 'stackblitz') {
742742 console.warn(c.yellow(
743743 [
744744- `Browser provider "preview" doesn't support multiple instances when running on stackblitz, `,
745745- `so "browser.instances" option is forcefully to use the first instance. `,
746746- `You can use "import { provider } from 'std-env'" and check if it is "stackblitz" to configure
747747- 'the browser.instances correctly to supress this warning.`,
744744+ 'Browser provider "preview" doesn\'t support multiple instances when running on stackblitz, ',
745745+ 'so "browser.instances" option is forcefully to use the first instance. ',
746746+ 'You can use "import { provider } from \'std-env\'" and check if it is "stackblitz" to configure ',
747747+ 'the browser.instances correctly to suppress this warning.',
748748 ].join(''),
749749 ))
750750 resolved.browser.instances = [resolved.browser.instances[0]]
751751 }
752752 else {
753753 console.warn(c.yellow([
754754- `'Vitest is running multiple browser instances with the "preview" provider. `,
755755- `Tests may not start until you focus each browser window.'`,
754754+ 'Vitest is running multiple browser instances with the "preview" provider. ',
755755+ 'Tests may not start until you focus each browser window.',
756756 ].join('')))
757757 }
758758 }