message: fix(test): set default value
diff: @@ -19,6 +19,7 @@ import { SecureStorageService } from '../secure-storage/secure-storage.service'
  import { StartupChecksService } from './startup-checks.service'
  import { StatusBarMock, SplashScreenMock } from 'test-config/plugins-mocks'
  +import { InstallationType } from '../storage/storage.service'
  describe('StartupCheck Service', () => {
  let startupChecksService: StartupChecksService
  @@ -61,6 +62,7 @@ describe('StartupCheck Service', () => {
  deviceProvider.isRooted = false
  deviceProvider.isElectron = false
  await storageProvider.set('DISCLAIMER_INITIAL', true)
  + await storageProvider.set('INSTALLATION_TYPE', InstallationType.ONLINE)
  await storageProvider.set('INTRODUCTION_INITIAL', true)
  })
  @@ -68,20 +70,15 @@ describe('StartupCheck Service', () => {
  expect(startupChecksService instanceof StartupChecksService).toBe(true)
  })
  - it(
  - 'should show root modal if device is rooted',
  - waitForAsync(() => {
  + it('should show root modal if device is rooted', waitForAsync(() => {
  deviceProvider.isRooted = true
  startupChecksService.initChecks().catch((consequence) => {
  expect(consequence.name).toBe('rootCheck')
  })
  - })
  - )
  + }))
  - it(
  - 'should show disclaimer modal if the disclaimer has not been accepted yet',
  - waitForAsync(async () => {
  + it('should show disclaimer modal if the disclaimer has not been accepted yet', waitForAsync(async () => {
  await storageProvider.set('DISCLAIMER_INITIAL', false)
  startupChecksService.checks = startupChecksService.checks.map((check) => {
  @@ -101,12 +98,9 @@ describe('StartupCheck Service', () => {
  }
  })
  })
  - })
  - )
  + }))
  - it(
  - 'should show the introduction modal if the introduction has not been accepted yet',
  - waitForAsync(async () => {
  + it('should show the introduction modal if the introduction has not been accepted yet', waitForAsync(async () => {
  await storageProvider.set('INTRODUCTION_INITIAL', false)
  startupChecksService.checks = startupChecksService.checks.map((check) => {
  @@ -126,12 +120,9 @@ describe('StartupCheck Service', () => {
  }
  })
  })
  - })
  - )
  + }))
  - it(
  - 'should show the device security modal if device is not secure',
  - waitForAsync(async () => {
  + it('should show the device security modal if device is not secure', waitForAsync(async () => {
  secureStorage.isSecure = 0
  startupChecksService.checks = startupChecksService.checks.map((check) => {
  @@ -151,12 +142,9 @@ describe('StartupCheck Service', () => {
  }
  })
  })
  - })
  - )
  + }))
  - it(
  - 'should resolve if everything is ok',
  - waitForAsync(async () => {
  + it('should resolve if everything is ok', waitForAsync(async () => {
  await storageProvider.set('DISCLAIMER_INITIAL', true)
  await storageProvider.set('INTRODUCTION_INITIAL', true)
  @@ -165,6 +153,5 @@ describe('StartupCheck Service', () => {
  deviceProvider.isElectron = false
  startupChecksService.initChecks()
  - })
  - )
  + }))
  })
  