workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

🔬 Testing: Conversion to Mock Service Workers

Open JacobMGEvans opened this issue 2 years ago • 0 comments

Currently new tests are utilizing Mock Service Workers (MSW) and r2.test & whoami.test were converted to fully utilize the current MSW implementation.

This is a tracking ticket anyone is welcome to help in conversion Files to evaluate and convert if necessary:

  • [ ] api-dev.test.ts
  • [ ] api-devregistry.test.js
  • [ ] api.test.ts
  • [ ] config-cache-without-cache-dir.test.ts
  • [ ] config-cache.test.ts
  • [ ] configuration.test.ts
  • [ ] dev.test.tsx
  • [ ] dialogs.test.tsx
  • [ ] generate.test.ts
  • [ ] guess-worker-format.test.ts
  • [ ] https-options.test.ts
  • [ ] index.test.ts
  • [ ] init.test.ts
  • [ ] jest.setup.ts (this will need further modifying after test files are converted)
  • [ ] kv.test.ts
  • [ ] logger.test.ts
  • [ ] metrics.test.ts
  • [ ] middleware.scheduled.test.ts
  • [ ] middleware.test.ts
  • [ ] package-manager.test.ts
  • [ ] pages.test.ts
  • [ ] parse.test.ts
  • [ ] paths.test.ts
  • [ ] publish.test.ts
  • [ ] pubsub.test.ts
  • [x] r2.test.ts
  • [ ] route.test.ts
  • [ ] secret.test.ts
  • [ ] tail.test.ts
  • [ ] test-old-node-version.js
  • [ ] user.test.ts
  • [ ] validate-dev-props.test.ts
  • [ ] version.test.ts
  • [x] whoami.test.tsx
  • [ ] worker-namespace.test.ts

JacobMGEvans avatar Sep 16 '22 17:09 JacobMGEvans