Commit ac75414b720763dd15d89818928e111aeb5b5acb
update plugin tests to new api
Dominic Tarr committed on 6/9/2017, 7:35:47 AMParent: 9dc5cf7b3fc0876b553e05d18351db915a1084f5
Files changed
test/plugins.js | changed |
test/plugins.js | ||
---|---|---|
@@ -49,9 +49,9 @@ | ||
49 | 49 | path: datadirPath, |
50 | 50 | port: 45451, host: 'localhost', |
51 | 51 | keys: aliceKeys, |
52 | 52 | plugins: { |
53 | - 'test-plugin': true | |
53 | + 'test-plugin': 'test' | |
54 | 54 | } |
55 | 55 | } |
56 | 56 | resetSbot() |
57 | 57 | require('../plugins/plugins').loadUserPlugins(createSbot, config) |
@@ -147,9 +147,9 @@ | ||
147 | 147 | path: datadirPath, |
148 | 148 | port: 45451, host: 'localhost', |
149 | 149 | keys: aliceKeys, |
150 | 150 | plugins: { |
151 | - 'my-test-plugin': true | |
151 | + 'my-test-plugin': 'test' | |
152 | 152 | } |
153 | 153 | } |
154 | 154 | resetSbot() |
155 | 155 | require('../plugins/plugins').loadUserPlugins(createSbot, config) |
@@ -191,5 +191,5 @@ | ||
191 | 191 | }) |
192 | 192 | }) |
193 | 193 | ) |
194 | 194 | }) |
195 | -}) | |
195 | +}) |
Built with git-ssb-web