mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-12 03:41:51 +02:00
removed redismock, added database mocked, fixed tests to work with dbal
This commit is contained in:
10
tests/database.js
Normal file
10
tests/database.js
Normal file
@@ -0,0 +1,10 @@
|
||||
var assert = require('assert');
|
||||
|
||||
|
||||
describe('Test database', function() {
|
||||
it('should work', function(){
|
||||
assert.doesNotThrow(function(){
|
||||
var db = require('../mocks/databasemock');
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user