ljosberinn/eslint-config-galex

View on GitHub
__tests__/utils/disabledValueToString.test.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { disabledValueToString } from '../../src/utils/prettier';

test('disabledValueToString', () => {
  expect(disabledValueToString(0)).toBe('off');
  expect(disabledValueToString('off')).toBe('off');
});