| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent beb147a commit 8345ffb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -106,6 +106,14 @@ test('object passthrough', function(t) { | |||
| 106 | 106 | t.end(); | |
| 107 | 107 | }); | |
| 108 | 108 | ||
| 109 | + test('passthrough constructor', function(t) { | ||
| 110 | + const pt = PassThrough(); | ||
| 111 | + | ||
| 112 | + assert(pt instanceof PassThrough); | ||
| 113 | + | ||
| 114 | + t.end(); | ||
| 115 | + }); | ||
| 116 | + | ||
| 109 | 117 | test('simple transform', function(t) { | |
| 110 | 118 | var pt = new Transform(); | |
| 111 | 119 | pt._transform = function(c, e, cb) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments