firebase / firebase-tools

The Firebase Command Line Tools
MIT License
3.97k stars 915 forks source link

Add a manifest file next to each test fixture. #7332

Closed yuchenshi closed 2 weeks ago

yuchenshi commented 2 weeks ago

Description

This allows moving test files and / or fixture directories independently using TypeScript refactors to update imports.

No more ../../ as untyped strings. tsc will error if there's a mismatch.

This method won't work for templates -- I'll find a different way for those in a follow-up PR.

Scenarios Tested

See tests on CI.

Sample Commands

npm run mocha.