Fix debug spec assertions.
This commit is contained in:
parent
6adcf3ec70
commit
30a8a89f60
|
@ -25,8 +25,8 @@ describe("/component", () => {
|
||||||
cpuInfo: expect.any(String),
|
cpuInfo: expect.any(String),
|
||||||
hosting: "docker-compose",
|
hosting: "docker-compose",
|
||||||
nodeVersion: expect.stringMatching(/^v\d+\.\d+\.\d+$/),
|
nodeVersion: expect.stringMatching(/^v\d+\.\d+\.\d+$/),
|
||||||
platform: "darwin",
|
platform: expect.any(String),
|
||||||
totalMemory: expect.stringMatching(/^\d+GB$/),
|
totalMemory: expect.stringMatching(/^[0-9\\.]+GB$/),
|
||||||
uptime: expect.stringMatching(
|
uptime: expect.stringMatching(
|
||||||
/^\d+ day\(s\), \d+ hour\(s\), \d+ minute\(s\)$/
|
/^\d+ day\(s\), \d+ hour\(s\), \d+ minute\(s\)$/
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue