Skip to content

Commit

Permalink
fix: Ignore image for non-core components
Browse files Browse the repository at this point in the history
  • Loading branch information
ramedina86 committed Aug 29, 2024
1 parent 693d03a commit 8ea9f16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/tests/componentImages.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const components = require('writer-ui/components.codegen.json');

describe('Components docs', () => {
for (const component of components) {
if (component.toolkit && component.toolkit !== "core") return;
it(`${component.name} - should have an image`, () => {
expect(() => {
fs.accessSync(`./framework/public/components/${component.type}.png`);
Expand Down

0 comments on commit 8ea9f16

Please sign in to comment.