Skip to content

Commit 63dcc62

Browse files
committed
Delete broken configs, hide data files in examples dir
1 parent 918e7d3 commit 63dcc62

File tree

113 files changed

+51
-348490
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+51
-348490
lines changed

_stories/Highlights.PackageComparison.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import waffleConfig from '../packages/waffle-chart/examples/tp5-style.json'
1515
import dataTableConfig from '../packages/data-table/examples/data-table-example.json'
1616
import markupConfig from '../packages/markup-include/src/_stories/_mock/primary.json'
1717
import filteredTextConfig from '../packages/filtered-text/examples/default.json'
18-
import filteredTextData from '../packages/filtered-text/examples/sex-ageGroup-with-values.json'
18+
import filteredTextData from '../packages/filtered-text/examples/__data__/sex-ageGroup-with-values.json'
1919

2020
const sectionStyles = {
2121
border: '1px solid #d9d9d9',

docs/TESTING_BEST_PRACTICES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ await performAndAssert(
307307
## Creating New Tests: Quick Checklist
308308

309309
1. ✅ Import helpers from `@cdc/core/helpers/testing`
310-
2. ✅ Use existing config: `import ExampleConfig from '../../examples/example-config.json'`
310+
2. ✅ Use existing config: `import ExampleConfig from '../../examples/default.json'`
311311
3. ✅ Set editor mode: `args: { config: ExampleConfig, isEditor: true }`
312312
4. ✅ Check EditorPanel.tsx for actual accordion sections
313313
5. ✅ Create one test story per accordion section

packages/chart/examples/data/data-with-metadata.json renamed to packages/chart/examples/__data__/data-with-metadata.json

File renamed without changes.

0 commit comments

Comments
 (0)