1void0/utils

View on GitHub
packages/platform/src/__tests__/client.test.ts

Summary

Maintainability
A
0 mins
Test Coverage
/* eslint-env jest */

import { isClient, isServer } from '../client'

describe('@void0/platform: client.ts', (): void => {
  test('isClient is true', (): void => {
    expect.assertions(1)
    expect(isClient).toBe(true)
  })

  test('isServer is false', (): void => {
    expect.assertions(1)
    expect(isServer).toBe(false)
  })
})