Skip to content

Commit

Permalink
Created Regression Test
Browse files Browse the repository at this point in the history
  • Loading branch information
itsAdee committed May 4, 2024
1 parent 18780f0 commit becfa0b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/RegressionTesting.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on: [push, pull_request]

jobs:
test-UsageMntrServ:
runs-on: ubuntu-latest

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

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: |
cd UsageMntrServ
npm ci
- name: Run tests
run: |
cd UsageMntrServ
npm test
1 change: 0 additions & 1 deletion UsageMntrServ/models/__test__/model.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ describe('DailyUsage Model Test', () => {
});


const mongoose = require('mongoose');
const UsageRequest = require('../UsageRequest');

describe('UsageRequest Model Test', () => {
Expand Down

0 comments on commit becfa0b

Please sign in to comment.