Me habia olvidado el gitignore
This commit is contained in:
4
.env
4
.env
@@ -8,5 +8,9 @@ POSTGRES_PASSWORD=1234
|
|||||||
# se deberia de hacer por peticion
|
# se deberia de hacer por peticion
|
||||||
API_VERSION="1"
|
API_VERSION="1"
|
||||||
WEBHOOK_SECRET="1234"
|
WEBHOOK_SECRET="1234"
|
||||||
|
SERVER_PORT=3300
|
||||||
|
|
||||||
|
# CLIENTE
|
||||||
|
# Cliente simulado que va a recibir los webhooks
|
||||||
CLIENT_IP="127.0.0.1"
|
CLIENT_IP="127.0.0.1"
|
||||||
CLIENT_PORT=3000
|
CLIENT_PORT=3000
|
||||||
|
|||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
node_modules
|
||||||
@@ -29,8 +29,7 @@ afterAll(() => {
|
|||||||
testServer.close()
|
testServer.close()
|
||||||
})
|
})
|
||||||
|
|
||||||
function mockCliente() {
|
export function mockCliente() {
|
||||||
|
|
||||||
const cliente = express();
|
const cliente = express();
|
||||||
|
|
||||||
cliente.use(express.json({
|
cliente.use(express.json({
|
||||||
|
|||||||
Reference in New Issue
Block a user