git ssb

16+

Dominic / patchbay



Commit 6e6e6af8b885b2550db8d474e3eb01894db7e5e3

scope tests to a test account with ssb_appname env

mix irving committed on 1/22/2017, 12:34:31 AM
Parent: 4025426c698a92a5e116d912175a42f3c0accf6a

Files changed

modules_basic/index.test.jschanged
modules_core/index.test.jschanged
modules_extra/index.test.jschanged
modules_basic/index.test.jsView
@@ -1,7 +1,9 @@
11 const test = require('tape')
22 const combine = require('depject')
33
4 +process.env.ssb_appname = 'test'
5 +
46 const core = require('../modules_core')
57 const basic = require('./')
68
79 test('modules_basic has no outside deps', t => {
modules_core/index.test.jsView
@@ -1,7 +1,9 @@
11 const test = require('tape')
22 const combine = require('depject')
33
4 +process.env.ssb_appname = 'test'
5 +
46 const core = require('./')
57
68 test('modules_core has no outside deps', t => {
79 t.ok(combine(core))
modules_extra/index.test.jsView
@@ -1,9 +1,9 @@
11 const test = require('tape')
22 const jsdom = require('jsdom')
33 const combine = require('depject')
44
5-var window = {}
5 +process.env.ssb_appname = 'test'
66
77 const core = require('../modules_core')
88 const basic = require('../modules_basic')
99 const extra = require('./')

Built with git-ssb-web