Skip to content

fix: add check on test can be undefined #862

fix: add check on test can be undefined

fix: add check on test can be undefined #862

Workflow file for this run

name: Expect Helper Tests
on:
push:
branches:
- 3.x
pull_request:
branches:
- '**'
env:
CI: true
# Force terminal colors. @see https://www.npmjs.com/package/colors
FORCE_COLOR: 1
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm i --force
- name: run unit tests
run: ./node_modules/.bin/mocha test/helper/Expect_test.js --timeout 5000