Skip to content

Commit

Permalink
Refactor generateToc tests to use normal project structure (Qiskit#1267)
Browse files Browse the repository at this point in the history
This is to unblock Qiskit#1249.
We now use the project folder that `Pkg.mock().outputDir()` would use.

This also removes inline snapshots. They can't be updated via `npm test
-- -u` due to Prettier, so it's more helpful to use a normal
`expect().toEqual()`.
  • Loading branch information
Eric-Arellano authored May 1, 2024
1 parent 4cf6688 commit 8a33b4a
Show file tree
Hide file tree
Showing 2 changed files with 127 additions and 115 deletions.
Loading

0 comments on commit 8a33b4a

Please sign in to comment.