Giter Club home page Giter Club logo

helix-testutils's Introduction

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

helix-testutils's People

Contributors

dependabot[bot] avatar greenkeeper[bot] avatar koraa avatar lgtm-com[bot] avatar marquiserosier avatar renovate-bot avatar renovate[bot] avatar rofe avatar semantic-release-bot avatar snyk-bot avatar stefan-guggisberg avatar trieloff avatar tripodsan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

helix-testutils's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update dependency @semantic-release/github to v10.0.6

Detected dependencies

circleci
.circleci/config.yml
  • cimg/node 18.20
github-actions
.github/workflows/codeql.yml
  • actions/checkout v4@a5ac7e51b41094c92402da3b24376905380afc29
  • github/codeql-action v3
  • github/codeql-action v3
  • github/codeql-action v3
.github/workflows/semantic-release.yaml
  • actions/checkout v4@a5ac7e51b41094c92402da3b24376905380afc29
  • actions/setup-node v4
.github/workflows/semver-check.yaml
npm
package.json
  • @adobe/helix-log 6.0.3
  • mocha 10.4.0
  • @adobe/eslint-config-helix 2.0.6
  • @semantic-release/changelog 6.0.3
  • @semantic-release/git 10.0.1
  • @semantic-release/github 10.0.5
  • codecov 3.8.3
  • commitizen 4.3.0
  • cz-conventional-changelog 3.3.0
  • eslint 8.57.0
  • eslint-plugin-header 3.1.1
  • eslint-plugin-import 2.29.1
  • ghooks 2.0.4
  • junit-report-builder 3.2.1
  • lint-staged 15.2.5
  • mocha-junit-reporter 2.2.1
  • nyc 15.1.0
  • semantic-release 24.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.