Police-Data-Accessibility-Project / data-sources-app

An API and UI for using and maintaining the Data Sources database
MIT License
2 stars 5 forks source link

shuffle results messaging #314

Closed josh-chamberlain closed 4 months ago

josh-chamberlain commented 4 months ago

fixes #294

now, this note about making a request will always show, regardless how many results appear. before, it wasn't showing when there were 0 results.

Screen Shot 2024-05-30 at 3 46 21 PM
josh-chamberlain commented 4 months ago

@joshuagraber I ran npx vitest -u to get this snapshot updated, not sure if that's what I should have done but it looks ok?

joshuagraber commented 4 months ago

@joshuagraber I ran npx vitest -u to get this snapshot updated, not sure if that's what I should have done but it looks ok?

Hey @josh-chamberlain that's exactly right. You can also run npm run test -- -u, since we have a test script defined in package.json.