fix mocks

This commit is contained in:
Keagan McClelland
2021-03-03 15:26:19 -07:00
parent 1a7d40afa9
commit d8d6541b11

View File

@@ -125,7 +125,7 @@ export class MockApiService extends ApiService {
return mockGetAppLogs()
}
async getServerLogs (): Promise<string> {
async getServerLogs (): Promise<string[]> {
return mockGetServerLogs()
}
@@ -658,7 +658,7 @@ const mockApiAppLogs: string[] = [
'****** FINISH *****',
]
const mockApiServerLogs: string = [
const mockApiServerLogs: string[] = [
'****** START *****',
'[ng] 「wdm」: Compiled successfully.',
'[ng] 「wdm」: Compiling...',
@@ -741,7 +741,7 @@ const mockApiServerLogs: string = [
'[ng] Date: 2019-12-26T14:23:13.812Z - Hash: 9342e11e6b8e16ad2f70',
'[ng] 114 unchanged chunks',
'****** FINISH *****',
].join('\n')
]
const mockApiAppMetricsV1: AppMetricsVersioned<2> = {
version: 2,