mirror of
https://github.com/bvanroll/rpiRadio.git
synced 2025-09-01 05:22:43 +00:00
Initial Commit
This commit is contained in:
15
ProjectNow/NodeServer/node_modules/event-stream/test/stringify.js
generated
vendored
Normal file
15
ProjectNow/NodeServer/node_modules/event-stream/test/stringify.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
|
||||
var es = require('../')
|
||||
|
||||
exports['handle buffer'] = function (t) {
|
||||
|
||||
|
||||
es.stringify().on('data', function (d) {
|
||||
t.equal(d.trim(), JSON.stringify('HELLO'))
|
||||
t.end()
|
||||
}).write(new Buffer('HELLO'))
|
||||
|
||||
}
|
||||
require('./helper')(module)
|
Reference in New Issue
Block a user