Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacing Karma with Web Test Runner #1546

Merged
merged 10 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/browsers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will do a clean install of node dependencies, build the source
# code and run tests across different versions of browsers

name: Browsers CI

on:
push:
branches: [ main, 4.x.x, 5.x.x ]
pull_request:
branches: [ main, 4.x.x, 5.x.x ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
browser-name:
- chromium
- firefox

steps:
- uses: actions/checkout@v4
- name: ${{ matrix.browser-name }}
uses: actions/setup-node@v3
- run: npm ci
- run: npx playwright install --with-deps
- run: npm run build --if-present
- run: npm run test-chrome -- --browsers ${{ matrix.browser-name }}
1 change: 1 addition & 0 deletions lib/chai/interface/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* MIT Licensed
*/

import * as chai from '../../../index.js';
import {Assertion} from '../assertion.js';
import {flag, inspect} from '../utils/index.js';
import {AssertionError} from 'assertion-error';
Expand Down
1 change: 1 addition & 0 deletions lib/chai/interface/expect.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* MIT Licensed
*/

import * as chai from '../../../index.js';
import {Assertion} from '../assertion.js';
import {AssertionError} from 'assertion-error';

Expand Down
Loading
Loading