| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4fafeae commit 94abefb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -96,6 +96,13 @@ const Transform = require('_stream_transform'); | |||
| 96 | 96 | assert(pt instanceof PassThrough); | |
| 97 | 97 | } | |
| 98 | 98 | ||
| 99 | + { | ||
| 100 | + // Verify transform constructor behavior | ||
| 101 | + const pt = Transform(); | ||
| 102 | + | ||
| 103 | + assert(pt instanceof Transform); | ||
| 104 | + } | ||
| 105 | + | ||
| 99 | 106 | { | |
| 100 | 107 | // Perform a simple transform | |
| 101 | 108 | const pt = new Transform(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments