Skip to content

Commit

Permalink
move test to backend folder
Browse files Browse the repository at this point in the history
:q
  • Loading branch information
nguyenbanhducA1K51 committed Nov 27, 2023
1 parent 6d4701c commit d0199b0
Show file tree
Hide file tree
Showing 4 changed files with 2,644 additions and 1,662 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI-no-selfhost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: 'Create env file'
run: |
echo "${{ secrets.ENV_FILE }}" > .env
- run: npm install
- run: npm install backend
- run: npm install backend
- run: npm install frontend
- run: npm run build --if-present
- run: npm test
4 changes: 2 additions & 2 deletions test/specs/users.test.js → backend/test/specs/users.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const puppeteer = require('puppeteer');
// const puppeteer = require('puppeteer');
import { isTokenCredential } from '@azure/core-auth';
import dotenv from 'dotenv'
import app from "../../backend/server"
import app from "../../server"
const request=require("supertest")
dotenv.config()
const baseURL= `http://localhost:${process.env.PORT}`
Expand Down
Loading

0 comments on commit d0199b0

Please sign in to comment.