mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 00:55:35 +00:00
will do a separte PR for changes which would require code changes so it's easier to review , didn't upgrade any deps for `@uppy/aws-s3` since we'll merge the rewrite so I think we should do that upgrade in the rewrite branch before merging. update : Dependency upgrades which required code changes were raised separately - #6309 - #6310 --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
30 lines
665 B
TypeScript
30 lines
665 B
TypeScript
import { playwright } from '@vitest/browser-playwright'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
projects: [
|
|
{
|
|
test: {
|
|
name: 'unit',
|
|
include: [
|
|
'src/**/*.test.{ts,tsx}',
|
|
'!src/**/*.browser.test.{ts,tsx}',
|
|
],
|
|
environment: 'jsdom',
|
|
},
|
|
},
|
|
{
|
|
test: {
|
|
name: 'browser',
|
|
include: ['src/**/*.browser.test.{ts,tsx}'],
|
|
browser: {
|
|
enabled: true,
|
|
provider: playwright(),
|
|
instances: [{ browser: 'chromium' }],
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
})
|