mirror of
https://github.com/SunRed/haste-server.git
synced 2025-09-04 04:50:14 +02:00
Huge refactor, switched to express
This commit is contained in:
parent
06315a91a8
commit
c585e3b815
22 changed files with 813 additions and 406 deletions
|
@ -1,9 +1,9 @@
|
|||
/* global describe, it */
|
||||
|
||||
var assert = require('assert');
|
||||
const assert = require('assert');
|
||||
|
||||
var DocumentHandler = require('../lib/document_handler');
|
||||
var Generator = require('../lib/key_generators/random');
|
||||
const DocumentHandler = require('../lib/document_handler');
|
||||
const Generator = require('../lib/key_generators/random');
|
||||
|
||||
describe('document_handler', function() {
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/* global it, describe, afterEach */
|
||||
|
||||
var assert = require('assert');
|
||||
const assert = require('assert');
|
||||
|
||||
var winston = require('winston');
|
||||
const winston = require('winston');
|
||||
winston.remove(winston.transports.Console);
|
||||
|
||||
var RedisDocumentStore = require('../lib/document_stores/redis');
|
||||
const RedisDocumentStore = require('../lib/document_stores/redis');
|
||||
|
||||
describe('redis_document_store', function() {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue