0.4.17 • Published 1 year ago

@adobe/helix-testutils v0.4.17

Weekly downloads
822
License
Apache-2.0
Repository
github
Last release
1 year ago

Helix Test Utilities

Status

codecov CircleCI GitHub license GitHub issues LGTM Code Quality Grade: JavaScript

Utility functions for testing Project Helix

Usage

condit is a "conditional it" that can be used in Mocha tests to specify conditions that need to be met to run the test. It is being used for integration tests that depend on the presence of environment variables.

const condit = require('@adobe/helix-testutils'); // add to your devDependencies

condit('This is an integration test', condit.hasenv('AUTH_TOKEN'), () => {
  // do your testing here
});

Development

Build

npm install

Test

npm test

Lint

npm run lint
0.4.17

1 year ago

0.4.16

1 year ago

0.4.15

2 years ago

0.4.14

3 years ago

0.4.13

3 years ago

0.4.11

3 years ago

0.4.12

3 years ago

0.4.10

4 years ago

0.4.5

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

6 years ago