diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 7206755e7..cfc31658b 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -15,4 +15,4 @@ jobs: # skip git, yarn, pixel test script and HAR file, and all i18n resources. # Also, the a11y test file has a false positive and the ignore list does not work # see https://github.com/opentripplanner/otp-react-redux/pull/436/checks?check_run_id=3369380014 - skip: ./.git,yarn.lock,./a11y/a11y.test.js,./a11y/mocks,./percy/percy.test.js,./percy/mock.har,./i18n + skip: ./.git,yarn.lock,./a11y/a11y.test.js,./a11y/mocks,./percy/percy.test.js,./percy/mock.har,./i18n,./__tests__/mocks diff --git a/__tests__/util/stop-data.json b/__tests__/mocks/stop-data.json similarity index 100% rename from __tests__/util/stop-data.json rename to __tests__/mocks/stop-data.json diff --git a/__tests__/util/stop-times.ts b/__tests__/util/stop-times.ts index 6d6ef8fb2..92bbc0170 100644 --- a/__tests__/util/stop-times.ts +++ b/__tests__/util/stop-times.ts @@ -3,7 +3,7 @@ import { utcToZonedTime } from 'date-fns-tz' import '../test-utils/mock-window-url' import { groupAndSortStopTimesByPatternByDay } from '../../lib/util/stop-times' -const stopData = require('./stop-data.json') +const stopData = require('../mocks/stop-data.json') const now = utcToZonedTime( new Date(stopData.stopTimesLastUpdated), 'America/Los_Angeles'