1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

fix linting & routing

This commit is contained in:
AWolf81
2019-06-29 23:21:32 +02:00
parent 18aae8cf7b
commit 37eee26bdf
3 changed files with 27 additions and 31 deletions

View File

@@ -27,7 +27,6 @@ test.serial('Create a note from URL', (t) => {
const url = 'https://shapeshed.com/writing-cross-platform-node/'
return Promise.resolve()
.then(function doTest () {
return Promise.all([
@@ -37,10 +36,12 @@ test.serial('Create a note from URL', (t) => {
.then(function assert (data) {
const data1 = data[0]
console.log("STORM LOOK HERE", data1)
console.log('STORM LOOK HERE', data1)
t.is(storageKey, data1.storage)
const jsonData2 = CSON.readFileSync(path.join(storagePath, 'notes', data1.key + '.cson'))
// <<<<<< fix me - input2 & data not defined
t.is(input2.content, data2.content)
t.is(input2.content, jsonData2.content)
t.is(input2.tags.length, data2.tags.length)