Skip to content

Commit cd67a99

Browse files
committed
test(client-s3): build browser bundle for test
1 parent 3decfc1 commit cd67a99

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,27 @@ login:
1212
sync:
1313
make -f Makefile.private.mk sync
1414

15-
test-unit:
15+
test-unit: build-s3-browser-bundle
1616
npx vitest run -c vitest.config.ts
1717
npx vitest run -c vitest.config.browser.ts
1818
npx vitest run -c vitest.config.clients.unit.ts
1919
npx jest -c jest.config.js
2020

21-
test-protocols:
21+
test-protocols: build-s3-browser-bundle
2222
npx vitest run -c vitest.config.protocols.integ.ts
2323

24-
test-integration:
24+
test-integration: build-s3-browser-bundle
2525
npx vitest run -c vitest.config.integ.ts
2626
npx jest -c jest.config.integ.js
2727
make test-protocols;
2828

29-
test-e2e:
29+
test-e2e: build-s3-browser-bundle
3030
npx vitest run -c vitest.config.e2e.ts
3131
npx vitest run -c vitest.config.browser.e2e.ts
3232

33+
build-s3-browser-bundle:
34+
node ./clients/client-s3/test/browser-build/esbuild
35+
3336
# removes nested node_modules folders
3437
clean-nested:
3538
rm -rf ./lib/*/node_modules

0 commit comments

Comments
 (0)