Skip to content

This CL updates window detection logic to compare the typeof result with 'undefined' (string), not undefined (primitive). #342

This CL updates window detection logic to compare the typeof result with 'undefined' (string), not undefined (primitive).

This CL updates window detection logic to compare the typeof result with 'undefined' (string), not undefined (primitive). #342

Workflow file for this run

name: run-unit-tests
on:
pull_request:
branches:
- main
paths:
- 'src/**'
- 'test/**'
- 'integration_tests/**'
jobs:
run_unit_tests:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: |
yarn install --frozen-lockfile
yarn test