Debian Codegraph @

package-hash/test/fixtures/README.md

raw
1 The `packed` directory contains tarballs of the various fixtures. These can be
2 unpacked using `npm run unpack-fixtures`. They'll be unpacked into the
3 `unpacked` directory, which is ignored through `.gitignore`.
4
5 Use `npm run generate-fixture-index` to generate an index of the fixtures.
6
7 To edit fixtures extract them elsewhere on disk, then create a new tarball and
8 copy it to the `packed` directory. Use `npm test` to test with the new fixture.
9 Avoid editing files inside the `unpacked` directory, it's erased every time you
10 use `npm test`.