Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

Some CLI infra generate unit tests are not unit tests #1385

@andrebriggs

Description

@andrebriggs

Describe the bug:
The test sute Validate sources in definition.yaml files in generate.tests.ts makes calls to remote git repositories to download artifacts.

Some folks who build and test the CLI may not have internet access and these tests will fail. For instance some may want to compile and test the CLI in a closed environment.

To Reproduce:
Run yarn test with no internet access.

Expected behavior:
Unit tests should mock out external dependencies

Does this require updates to documentation?:
No

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions