mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
fix mocks
This commit is contained in:
@@ -125,7 +125,7 @@ export class MockApiService extends ApiService {
|
|||||||
return mockGetAppLogs()
|
return mockGetAppLogs()
|
||||||
}
|
}
|
||||||
|
|
||||||
async getServerLogs (): Promise<string> {
|
async getServerLogs (): Promise<string[]> {
|
||||||
return mockGetServerLogs()
|
return mockGetServerLogs()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -658,7 +658,7 @@ const mockApiAppLogs: string[] = [
|
|||||||
'****** FINISH *****',
|
'****** FINISH *****',
|
||||||
]
|
]
|
||||||
|
|
||||||
const mockApiServerLogs: string = [
|
const mockApiServerLogs: string[] = [
|
||||||
'****** START *****',
|
'****** START *****',
|
||||||
'[ng] ℹ 「wdm」: Compiled successfully.',
|
'[ng] ℹ 「wdm」: Compiled successfully.',
|
||||||
'[ng] ℹ 「wdm」: Compiling...',
|
'[ng] ℹ 「wdm」: Compiling...',
|
||||||
@@ -741,7 +741,7 @@ const mockApiServerLogs: string = [
|
|||||||
'[ng] Date: 2019-12-26T14:23:13.812Z - Hash: 9342e11e6b8e16ad2f70',
|
'[ng] Date: 2019-12-26T14:23:13.812Z - Hash: 9342e11e6b8e16ad2f70',
|
||||||
'[ng] 114 unchanged chunks',
|
'[ng] 114 unchanged chunks',
|
||||||
'****** FINISH *****',
|
'****** FINISH *****',
|
||||||
].join('\n')
|
]
|
||||||
|
|
||||||
const mockApiAppMetricsV1: AppMetricsVersioned<2> = {
|
const mockApiAppMetricsV1: AppMetricsVersioned<2> = {
|
||||||
version: 2,
|
version: 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user