@remote.it/core
Version:
Core remote.it JavasScript/TypeScript library
23 lines (20 loc) • 663 B
text/typescript
import { MacSystemService } from './MacSystemService'
describe('MacSystemService', () => {
xtest('should not explode', async () => {
const command = 'echo'
const service = new MacSystemService(command)
expect(service.exists).toBe(false)
expect(service.label).toBe('it.remote.core')
expect(service.keepAlive).toBe(true)
})
describe('install', () => {
xtest('should not explode', async () => {
const command = 'echo'
const service = new MacSystemService(command)
await service.install()
expect(service.exists).toBe(true)
await service.uninstall()
expect(service.exists).toBe(false)
})
})
})