tree: 2e370ba6dbc10d15fe8d223d4be6d15af978389f [path history] [tgz]
  1. fakes/
  2. clean_state.ts
  3. fake_exec.ts
  4. fs.ts
  5. index.ts
  6. README.md
  7. tasks.ts
  8. types.ts
ide_tooling/cros-ide/src/test/testing/README.md

Testing Commons

This directory contains general-purpose testing utilities that can be used from both unit tests and integration tests.

Modules here may import vscode module, but corresponding fake implementations must be provided in src/test/unit/injected_modules/vscode so that they can be still used in unit tests.

Make sure index.ts to re-export all exported symbols in other *.ts files in this directory (but not those under subdirectories) so that we don't need to import individual modules.