Files
Daniel Salazar 99d96edd9c feat: s3 fs in oss (#2761)
* feat: s3 fs in oss

* feat: new endpoints in OSS

* fix: name of fs extension

* perf: signed uploads

* fix: await socket events to align fs events

* fix: default bucket names

* fix: backend tests

* fix: deps

* fix: order
2026-04-02 11:20:59 -07:00
..
2026-04-02 11:20:59 -07:00

Table of Contents

Summary

End-to-end tests for puter-js and http API.

How to use

Initialize the Client Config

  1. Start a backend server:

    npm start
    
  2. Copy example-client-config.yaml and edit the auth_token field. (auth_token can be obtained by logging in on the webpage and typing puter.authToken in Developer Tools's console)

    cp ./tests/example-client-config.yaml ./tests/client-config.yaml
    

Run API-Tester (test http API)

node ./tests/api-tester/apitest.js --unit --stop-on-failure

Run Playwright (test puter-js API with browser environment)

cd ./tests/playwright
npm install
npx playwright install --with-deps
npx playwright test

Run Vitest (test puter-js API with node environment)

npm run test:puterjs-api