This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FAIL src/tests/Login.test.jsx (5.858s) | |
● Console | |
console.error node_modules/@testing-library/react/dist/act-compat.js:52 | |
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function. | |
in Login (at Login.test.jsx:31) | |
in Router (created by BrowserRouter) | |
in BrowserRouter (at Login.test.jsx:31) | |
console.error node_modules/@testing-library/react/dist/act-compat.js:52 | |
Warning: You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FAIL src/tests/Register.test.js | |
● allows the user to register successfully | |
Unable to find an element with the placeholder text of: Full Name | |
<body> | |
<div> | |
<div | |
class="preloader" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import with_statement | |
import logging | |
from logging.config import fileConfig | |
from sqlalchemy import engine_from_config | |
from sqlalchemy import pool | |
from alembic import context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""${message} | |
Revision ID: ${up_revision} | |
Revises: ${down_revision | comma,n} | |
Create Date: ${create_date} | |
""" | |
from alembic import op | |
import sqlalchemy as sa | |
${imports if imports else ""} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A generic, single database configuration. | |
[alembic] | |
# template used to generate migration files | |
# file_template = %%(rev)s_%%(slug)s | |
# set to 'true' to run the environment during | |
# the 'revision' command, regardless of autogenerate | |
# revision_environment = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PASS src/tests/PersonalDetails.test.js (7.322s) | |
● Console | |
console.error node_modules/react-dom/cjs/react-dom.development.js:88 | |
Warning: An update to PersonalDetails inside a test was not wrapped in act(...). | |
When testing, code that causes React state updates should be wrapped into act(...): | |
act(() => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# output on `docker-compose up` | |
Creating network "bridge-in-tech-backend_default" with the default driver | |
Pulling postgres (postgres:)... | |
latest: Pulling from library/postgres | |
// continute the rests | |
Status: Downloaded newer image for postgres:latest | |
// then it continues building ms first, which is not ideal, cause will mess db schemas | |
Building ms | |
Step 1/6 : FROM python:3.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== npm audit security report === | |
# Run npm install react-scripts@4.0.3 to resolve 2 vulnerabilities | |
SEMVER WARNING: Recommended action is a potentially breaking change | |
High Prototype Pollution | |
Package object-path | |
Dependency of react-scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127.0.0.1 - - [03/Mar/2021 21:18:35] "PUT /organization HTTP/1.1" 500 - | |
INFO:werkzeug:127.0.0.1 - - [03/Mar/2021 21:18:35] "PUT /organization HTTP/1.1" 500 - | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context | |
context) | |
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 507, in do_execute | |
cursor.execute(statement, parameters) | |
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "uq_organizations_name" | |
DETAIL: Key (name)=(MTreacy.Co) already exists. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for mentorship_relations dummy data | |
# 2nd scenario. | |
# user send request to work as program mentor/mentee | |
# prepare empty tasks_list for mentorship_relation1 | |
tasks_list_1 = TasksListModel() | |
db.session.add(tasks_list_1) | |
db.session.commit() |
NewerOlder