Skip to content

Commit

Permalink
note why the string is funky
Browse files Browse the repository at this point in the history
  • Loading branch information
mgwalker committed Nov 21, 2024
1 parent cdd36fe commit 4c54911
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scripts/define.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ describe("glossary", () => {
const fetcher = cache.mock.calls[0].pop();

fetch.mockResolvedValue({
// The data being pulled across the network is expected to be YAML, so
// we need to be sure we format it correctly here. Hence the funky-looking
// string.
text: async () => `
entries:
term 1: ATO
Expand Down

0 comments on commit 4c54911

Please sign in to comment.