Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,19 @@
COMPOSE_PROJECT_NAME=lattice-connect

# MQTT
ERLANG_COOKIE='erlang-cookie'
ERLANG_COOKIE='erlang-cookie'
MQTT_HOST=localhost
MQTT_HTTP_PORT=1883
MQTT_USER=lattice_user
MQTT_PASS=lattice_pass

# Lattice Configuration
LATTICE_CONNECT_URL=https://signing.gridpl.us
APP_SERVICE_PORT=8080
APP_WORKER_COUNT=2

# Admin Client Configuration
ADMIN_CLIENT_HOST=http://localhost:15672
ADMIN_CLIENT_USER=guest
ADMIN_CLIENT_PASS=guest

23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug EIP1193 Tests",
"runtimeExecutable": "yarn",
"runtimeArgs": [
"test",
"src/services/useEIP1193Provider.integration.test.ts",
"--runInBand"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"env": {
"NODE_ENV": "test"
},
"sourceMaps": true,
"cwd": "${workspaceFolder}/connect"
}
]
}
17 changes: 17 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "typescript",
"tsconfig": "tsconfig.json",
"problemMatcher": [
"$tsc"
],
"group": {
"kind": "build",
"isDefault": true
},
"label": "tsc: build - tsconfig.json"
}
]
}
13 changes: 13 additions & 0 deletions connect/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
roots: ['<rootDir>/src'],
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.tsx?$': ['ts-jest', {
tsconfig: 'tsconfig.json'
}]
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
setupFiles: ['dotenv/config']
};
Loading