switched nedb to nedb-promises (#37)
* breaking change: switched to nedb-promises * Linting * some dev dependencies * more tests * updated package version * bug fixing * changed isNaN to isString * (fix) args[0]
This commit is contained in:
6
__tests__/functions/findMessage.js
Normal file
6
__tests__/functions/findMessage.js
Normal file
@ -0,0 +1,6 @@
|
||||
require('module-alias/register');
|
||||
const { findMessage } = require('@dsabot/findMessage');
|
||||
|
||||
it('should capitalize the first letter.', () => {
|
||||
expect(findMessage('ERROR')).toBe('Irgendwas ist schief gelaufen. 🤔');
|
||||
});
|
Reference in New Issue
Block a user