gun/test/hub/hub-test.js
Hector 084e2907da
🎉 Introducing a new feature ! (#1121)
* 🎉 .hubignore is ready !

* 🧪 Add tests for hub.js !
2021-08-30 14:29:55 -07:00

9 lines
275 B
JavaScript

// const Gun = require('../..');
// const gun = Gun();
// gun.get('hub').on(data => {
// console.log(data['/home/noctisatrae/gun/test/hub/index.html'])
// })
const hub = require('../../lib/hub');
hub.watch('/home/noctisatrae/gun/test/hub', {msg: true, hubignore: true})