Skip to content

Commit

Permalink
Prueba sin test de front
Browse files Browse the repository at this point in the history
  • Loading branch information
uo277931 committed May 1, 2022
1 parent 97bab50 commit af97e08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/asw2122.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
with:
node-version: 16
- run: npm ci
- run: npm test
- uses: codecov/codecov-action@v2
# - run: npm test
# - uses: codecov/codecov-action@v2
unit-test-restapi:
runs-on: ubuntu-latest
defaults:
Expand Down
4 changes: 2 additions & 2 deletions restapi/tests/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ beforeAll(async () => {
app.use(order);

server = app.listen(port, (): void => {
console.log('Restapi server for testing listening on ' + port);
// console.log('Restapi server for testing listening on ' + port);
}).on("error", (error: Error) => {
console.error('Error occured: ' + error.message);
// console.error('Error occured: ' + error.message);
});

await mongoose.connection.collections['users'].insertOne(admin)
Expand Down

0 comments on commit af97e08

Please sign in to comment.