stub lscache; ref #120
This commit is contained in:
parent
52240d54f0
commit
b57bc76edd
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "burnchart",
|
||||
"version": "3.2.0",
|
||||
"version": "3.2.1",
|
||||
"description": "GitHub Burndown Chart as a Service",
|
||||
"author": "Radek Stepan <dev@radekstepan.com> (http://radekstepan.com)",
|
||||
"license": "AGPL-3.0",
|
||||
|
|
|
@ -5,10 +5,16 @@ import { noCallThru } from 'proxyquire'
|
|||
let proxy = noCallThru();
|
||||
|
||||
let request = {};
|
||||
let lscache = {
|
||||
get: () => [],
|
||||
set: () => {}
|
||||
};
|
||||
|
||||
// Proxy the request module.
|
||||
let lib = path.resolve(__dirname, '../src/js/stores/projectsStore.js');
|
||||
let projects = proxy(lib, { '../modules/github/request.js': request }).default;
|
||||
let projects = proxy(lib, {
|
||||
lscache, '../modules/github/request.js': request
|
||||
}).default;
|
||||
|
||||
export default {
|
||||
'projects - initializes empty': (done) => {
|
||||
|
|
Loading…
Reference in New Issue