add ci test
Some checks failed
Build Docker Image Front / run (push) Successful in 24s
Build Docker Image Back / run (push) Successful in 21s
Jest test unit / build (push) Failing after 17s
Build Docker Image Front / run (pull_request) Successful in 21s
Build Docker Image Back / run (pull_request) Successful in 21s
Some checks failed
Build Docker Image Front / run (push) Successful in 24s
Build Docker Image Back / run (push) Successful in 21s
Jest test unit / build (push) Failing after 17s
Build Docker Image Front / run (pull_request) Successful in 21s
Build Docker Image Back / run (pull_request) Successful in 21s
This commit is contained in:
parent
801ab51150
commit
2d2bb81b93
11
.github/workflows/run_back_test.yml
vendored
Normal file
11
.github/workflows/run_back_test.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
name: Jest test unit
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install modules
|
||||||
|
run: npm ci
|
||||||
|
- name: Run tests
|
||||||
|
run: npm run test
|
@ -1,11 +1,12 @@
|
|||||||
import express from "express";
|
import express from "express";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize Express application instance.
|
* Initialize Express application instance.
|
||||||
* @returns An initialized Express application object.
|
* @returns An initialized Express application object.
|
||||||
*/
|
*/
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle GET request for homepage route ('/').
|
* Handle GET request for homepage route ('/').
|
||||||
* Send back a simple text response.
|
* Send back a simple text response.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user