Skip to content

dist doesn't catch errors that test does #1600

@autonome

Description

@autonome

hm, worked locally w/ dist, so maybe we should have that script fail on this also

Agreed, it's caught me up a couple of times. I usually will run npm run dist && npm run test in the same line just to double check. Can you file an issue for this please?

Originally posted by @petele in #1592 (comment)

The workflow in the docs and from talking to folks is to run dist to check the yaml changes for a feature.

However, you can have a perfectly valid entry, as above, which runs fine in dist locally, but fails the automated test.

I haven't looked, so not sure what the right solution is. Fix the test to accept valid yaml entries? Cram test in to dist? Just get everyone to run both per above?

dist already takes a bit long, so not sure we want to always run test with it.

(Side thought... I'd like a watch command on just the given feature I'm working on...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions