-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a7afa2
commit 853634a
Showing
3 changed files
with
2,589 additions
and
2,442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,104 +1,101 @@ | ||
/// <reference types="@chialab/vitest-provider-browserstack" /> | ||
|
||
import { defineConfig, mergeConfig } from 'vitest/config'; | ||
import { mergeConfig } from 'vitest/config'; | ||
import vitestConfig from './vitest.config'; | ||
|
||
export default mergeConfig( | ||
vitestConfig, | ||
defineConfig({ | ||
test: { | ||
coverage: { | ||
provider: 'istanbul', | ||
}, | ||
browser: { | ||
enabled: true, | ||
provider: '@chialab/vitest-provider-browserstack', | ||
name: 'browserstack:chrome-latest', | ||
slowHijackESM: false, | ||
api: { | ||
host: '0.0.0.0', | ||
port: 5176, | ||
}, | ||
export default mergeConfig(vitestConfig, { | ||
test: { | ||
coverage: { | ||
provider: 'istanbul', | ||
}, | ||
browser: { | ||
enabled: true, | ||
provider: '@chialab/vitest-provider-browserstack', | ||
name: 'browserstack:chrome-latest', | ||
slowHijackESM: false, | ||
api: { | ||
host: '0.0.0.0', | ||
port: 5176, | ||
}, | ||
}, | ||
browserstack: { | ||
capabilities: { | ||
'chrome-latest': { | ||
'browserName': 'Chrome', | ||
'bstack:options': { | ||
browserVersion: 'latest', | ||
}, | ||
}, | ||
browserstack: { | ||
capabilities: { | ||
'chrome-latest': { | ||
'browserName': 'Chrome', | ||
'bstack:options': { | ||
browserVersion: 'latest', | ||
}, | ||
'chrome-latest-1': { | ||
'browserName': 'Chrome', | ||
'bstack:options': { | ||
browserVersion: 'latest-1', | ||
}, | ||
}, | ||
'chrome-latest-1': { | ||
'browserName': 'Chrome', | ||
'bstack:options': { | ||
browserVersion: 'latest-1', | ||
}, | ||
'chrome-latest-2': { | ||
'browserName': 'Chrome', | ||
'bstack:options': { | ||
browserVersion: 'latest-2', | ||
}, | ||
}, | ||
'chrome-latest-2': { | ||
'browserName': 'Chrome', | ||
'bstack:options': { | ||
browserVersion: 'latest-2', | ||
}, | ||
// oldest chrome supported by vitest | ||
'chrome-80': { | ||
'browserName': 'Chrome', | ||
'bstack:options': { | ||
browserVersion: '80', | ||
}, | ||
}, | ||
// oldest chrome supported by vitest | ||
'chrome-80': { | ||
'browserName': 'Chrome', | ||
'bstack:options': { | ||
browserVersion: '80', | ||
}, | ||
'firefox-latest': { | ||
'browserName': 'Firefox', | ||
'bstack:options': { | ||
browserVersion: 'latest', | ||
}, | ||
}, | ||
'firefox-latest': { | ||
'browserName': 'Firefox', | ||
'bstack:options': { | ||
browserVersion: 'latest', | ||
}, | ||
'firefox-latest-1': { | ||
'browserName': 'Firefox', | ||
'bstack:options': { | ||
browserVersion: 'latest-1', | ||
}, | ||
}, | ||
'firefox-latest-1': { | ||
'browserName': 'Firefox', | ||
'bstack:options': { | ||
browserVersion: 'latest-1', | ||
}, | ||
'firefox-latest-2': { | ||
'browserName': 'Firefox', | ||
'bstack:options': { | ||
browserVersion: 'latest-2', | ||
}, | ||
}, | ||
'firefox-latest-2': { | ||
'browserName': 'Firefox', | ||
'bstack:options': { | ||
browserVersion: 'latest-2', | ||
}, | ||
// oldest firefox supported by vitest | ||
'firefox-90': { | ||
'browserName': 'Firefox', | ||
'bstack:options': { | ||
browserVersion: '90', | ||
}, | ||
}, | ||
// oldest firefox supported by vitest | ||
'firefox-90': { | ||
'browserName': 'Firefox', | ||
'bstack:options': { | ||
browserVersion: '90', | ||
}, | ||
'safari-latest': { | ||
'browserName': 'Safari', | ||
'bstack:options': { | ||
browserVersion: 'latest', | ||
}, | ||
}, | ||
'safari-latest': { | ||
'browserName': 'Safari', | ||
'bstack:options': { | ||
browserVersion: 'latest', | ||
}, | ||
'safari-16': { | ||
'browserName': 'Safari', | ||
'bstack:options': { | ||
browserVersion: '16', | ||
}, | ||
}, | ||
'safari-16': { | ||
'browserName': 'Safari', | ||
'bstack:options': { | ||
browserVersion: '16', | ||
}, | ||
// oldest safari supported by vitest | ||
'safari-15': { | ||
'browserName': 'Safari', | ||
'bstack:options': { | ||
browserVersion: '15.6', | ||
}, | ||
}, | ||
// oldest safari supported by vitest | ||
'safari-15': { | ||
'browserName': 'Safari', | ||
'bstack:options': { | ||
browserVersion: '15.6', | ||
}, | ||
'edge-latest': { | ||
'browserName': 'MicrosoftEdge', | ||
'bstack:options': { | ||
browserVersion: 'latest', | ||
}, | ||
}, | ||
'edge-latest': { | ||
'browserName': 'MicrosoftEdge', | ||
'bstack:options': { | ||
browserVersion: 'latest', | ||
}, | ||
}, | ||
}, | ||
}) | ||
); | ||
}, | ||
}); |
Oops, something went wrong.