mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
Concurrent-Jobs (#7)
Fredy 2.0.0 introduces the concept of search jobs. You can now configure multiple of these jobs running in the same instance of Fredy. Also a new API has been created 🎉
This commit is contained in:
committed by
GitHub
parent
52a32f7453
commit
770d30af95
13
test/provider/utils.test.js
Normal file
13
test/provider/utils.test.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const utils = require('../../lib/utils');
|
||||
const assert = require('assert');
|
||||
|
||||
describe('utils', () => {
|
||||
describe('#isOneOf()', () => {
|
||||
it('should be false', () => {
|
||||
assert.equal(utils.isOneOf('bla', ['blub']), false);
|
||||
});
|
||||
it('should be true', () => {
|
||||
assert.equal(utils.isOneOf('bla blub blubber', ['bla']), true);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user