08-27-周三_17-09-29

This commit is contained in:
2025-08-27 17:10:05 +08:00
commit 86df397d8f
12735 changed files with 1145479 additions and 0 deletions

19
node_modules/shoe/test/browser.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
var shoe = require('../');
var test = require('tape');
var through = require('through');
test('round-trip', function (t) {
t.plan(1);
var stream = shoe('/sock');
var data = '';
stream.pipe(through(function (buf) {
data += buf;
if (data === 'BEEP BOOP') {
t.ok(true, 'got upper-cased data back');
}
}));
stream.write('beep boop');
});