mon-entreprise/test/utils.test.js

10 lines
246 B
JavaScript

var assert = require('assert')
const utils = require('../source/utils.js')
describe('capitalise0', function() {
it('should turn the first character into its capital', function() {
assert.equal('Salaire', utils.capitalise0('salaire'))
})
})