test/documentation/helpers/pad.js

Summary

Maintainability
A
0 mins
Test Coverage
import expect from 'expect';

import pad from '../../../src/documentation/helpers/pad';

describe('documentation', () => {
    describe('helpers', () => {
        describe('pad', () => {
            it('should pad correctly', () => {
                expect(pad(4, '-')).toBe('----');
            });
        });
    });
});