Skip to content

Commit

Permalink
e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jun 3, 2024
1 parent e51be19 commit 5bc0c82
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
1 change: 1 addition & 0 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
},
"devDependencies": {
"@parcel/transformer-vue": "^2.9.3",
"@transloadit/ts-fly": "^0.1.4",
"cypress": "^13.0.0",
"cypress-terminal-report": "^6.0.0",
"deep-freeze": "^0.0.1",
Expand Down
3 changes: 2 additions & 1 deletion e2e/start-companion-with-load-balancer.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ const isOSX = process.platform === 'darwin'

const startCompanion = ({ name, port }) => {
const cp = spawn(process.execPath, [
'-r', '@transloadit/ts-fly',
'-r', 'dotenv/config',
// Watch mode support is limited to Windows and macOS at the time of writing.
...(isWindows || isOSX ? ['--watch-path', 'packages/@uppy/companion/src', '--watch'] : []),
'./packages/@uppy/companion/src/standalone/start-server.js',
'./packages/@uppy/companion/src/standalone/start-server.ts',
], {
cwd: new URL('../', import.meta.url),
stdio: 'inherit',
Expand Down
17 changes: 15 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7324,6 +7324,18 @@ __metadata:
languageName: node
linkType: hard

"@transloadit/ts-fly@npm:^0.1.4":
version: 0.1.5
resolution: "@transloadit/ts-fly@npm:0.1.5"
dependencies:
pirates: "npm:^4.0.5"
sucrase: "npm:^3.32.0"
bin:
ts-fly: ./bin/ts-fly
checksum: 10/efaae2763e5e1942a85798768b235ba9d4dedecc90a24e2063b95887d48006c132943552a2c836f297145b28ab5bed11ec1c48b02c784fccc55bc7a035411806
languageName: node
linkType: hard

"@trysound/sax@npm:0.2.0":
version: 0.2.0
resolution: "@trysound/sax@npm:0.2.0"
Expand Down Expand Up @@ -13690,6 +13702,7 @@ __metadata:
resolution: "e2e@workspace:e2e"
dependencies:
"@parcel/transformer-vue": "npm:^2.9.3"
"@transloadit/ts-fly": "npm:^0.1.4"
"@uppy/audio": "workspace:^"
"@uppy/aws-s3": "workspace:^"
"@uppy/aws-s3-multipart": "workspace:^"
Expand Down Expand Up @@ -24338,7 +24351,7 @@ __metadata:
languageName: node
linkType: hard

"pirates@npm:^4.0.1, pirates@npm:^4.0.4, pirates@npm:^4.0.6":
"pirates@npm:^4.0.1, pirates@npm:^4.0.4, pirates@npm:^4.0.5, pirates@npm:^4.0.6":
version: 4.0.6
resolution: "pirates@npm:4.0.6"
checksum: 10/d02dda76f4fec1cbdf395c36c11cf26f76a644f9f9a1bfa84d3167d0d3154d5289aacc72677aa20d599bb4a6937a471de1b65c995e2aea2d8687cbcd7e43ea5f
Expand Down Expand Up @@ -28523,7 +28536,7 @@ __metadata:
languageName: node
linkType: hard

"sucrase@npm:^3.20.0":
"sucrase@npm:^3.20.0, sucrase@npm:^3.32.0":
version: 3.35.0
resolution: "sucrase@npm:3.35.0"
dependencies:
Expand Down

0 comments on commit 5bc0c82

Please sign in to comment.