Update mock server and drop /etc/hosts requirement
This commit is contained in:
parent
dbed3cbd2b
commit
524f0cfaea
5 changed files with 6 additions and 12 deletions
3
.github/workflows/benchmark.yml
vendored
3
.github/workflows/benchmark.yml
vendored
|
@ -50,9 +50,6 @@ jobs:
|
|||
- name: Bundle
|
||||
run: yarn build:webpack
|
||||
|
||||
- name: Setup hosts
|
||||
run: sudo echo "127.0.0.1 mock.signal.org" | sudo tee -a /etc/hosts
|
||||
|
||||
- name: Run startup benchmarks
|
||||
run: |
|
||||
set -o pipefail
|
||||
|
|
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -198,9 +198,6 @@ jobs:
|
|||
- name: Bundle
|
||||
run: yarn build:webpack
|
||||
|
||||
- name: Setup hosts
|
||||
run: sudo echo "127.0.0.1 mock.signal.org" | sudo tee -a /etc/hosts
|
||||
|
||||
- name: Run storage service tests
|
||||
run: |
|
||||
set -o pipefail
|
||||
|
|
|
@ -185,7 +185,7 @@
|
|||
"@babel/preset-typescript": "7.16.0",
|
||||
"@chanzuckerberg/axe-storybook-testing": "3.0.2",
|
||||
"@electron/fuses": "1.5.0",
|
||||
"@signalapp/mock-server": "1.1.1",
|
||||
"@signalapp/mock-server": "1.1.2",
|
||||
"@storybook/addon-actions": "5.1.11",
|
||||
"@storybook/addon-knobs": "5.1.11",
|
||||
"@storybook/addons": "5.1.11",
|
||||
|
|
|
@ -270,7 +270,7 @@ export class Bootstrap {
|
|||
//
|
||||
|
||||
private async generateConfig(port: number): Promise<string> {
|
||||
const url = `https://mock.signal.org:${port}`;
|
||||
const url = `https://127.0.0.1:${port}`;
|
||||
return JSON.stringify({
|
||||
...(await loadCertificates()),
|
||||
|
||||
|
|
|
@ -1349,10 +1349,10 @@
|
|||
"@react-spring/shared" "~9.4.0"
|
||||
"@react-spring/types" "~9.4.0"
|
||||
|
||||
"@signalapp/mock-server@1.1.1":
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@signalapp/mock-server/-/mock-server-1.1.1.tgz#b290feeb107a3d644851708ff31bb4cd9733aa87"
|
||||
integrity sha512-bk+fMFwRtwE4zbhryIhqPoumXX1L91kJQbHjfl2i4If47LDM9ik44vVGblIqO7l8Wf1nKDD/tTemZU5w69f5qA==
|
||||
"@signalapp/mock-server@1.1.2":
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/@signalapp/mock-server/-/mock-server-1.1.2.tgz#008c46cd6f29cb5b91a3414c9c74bc770021b853"
|
||||
integrity sha512-rkxPzbbiD6HMeeb6fe7li5H7jwzJuWQPuA7tP74KYoRLf0LeFlbRdHSrqZ4GxpA63Zu0vzC3h2bC8E2F1JM4Eg==
|
||||
dependencies:
|
||||
"@signalapp/signal-client" "0.12.1"
|
||||
debug "^4.3.2"
|
||||
|
|
Loading…
Reference in a new issue