0.4.17 • Published 25 days ago

@adobe/helix-testutils v0.4.17

Weekly downloads
822
License
Apache-2.0
Repository
github
Last release
25 days 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

25 days ago

0.4.16

27 days ago

0.4.15

7 months ago

0.4.14

2 years ago

0.4.13

2 years ago

0.4.11

2 years ago

0.4.12

2 years ago

0.4.10

3 years ago

0.4.5

3 years ago

0.4.4

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

5 years ago