Skip to content

Commit

Permalink
Updated Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SellersEvan committed May 8, 2024
1 parent fc5afa4 commit 7e5ed57
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 20 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test

on:
pull_request:
branches: ["*"]

jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [16.x, 18.x, 20.x]

name: Test (${{ matrix.os }}, NodeJS ${{ matrix.node-version }})
runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: npm install

- name: Run Tests
run: npm test
20 changes: 0 additions & 20 deletions .github/workflows/testing.yml

This file was deleted.

1 change: 1 addition & 0 deletions tests/endpoints/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Suite, BodyType, Method, equals } from "./suite/index.js";

//! CAN WE MOVE THIS TO JEST????
// NOTE: Separate from Jest Tests executed by running `npm run test-server {host}`
const suite = new Suite("http://localhost:3000");

Expand Down

0 comments on commit 7e5ed57

Please sign in to comment.