11// Flags: --no-warnings --expose-internals
22'use strict' ;
3- 'use strict' ;
3+
44
55require ( '../common' ) ;
66
@@ -12,31 +12,31 @@ const {
1212} = require ( 'stream/web' ) ;
1313
1414const {
15- customInspectSymbol : kInspect ,
16- } = require ( 'internal/util' ) ;
17-
18- describe ( 'DecompressionStream kInspect method' , ( ) => {
19- it ( 'should return a predictable inspection string with DecompressionStream' , ( ) => {
20- const decompressionStream = new DecompressionStream ( 'deflate' ) ;
21- const depth = 1 ;
22- const options = { } ;
23- const actual = decompressionStream [ kInspect ] ( depth , options ) ;
24-
25- assert ( actual . includes ( 'DecompressionStream' ) ) ;
26- assert ( actual . includes ( 'ReadableStream' ) ) ;
27- assert ( actual . includes ( 'WritableStream' ) ) ;
28- } ) ;
15+ customInspectSymbol : kInspect ,
16+ } = require ( 'internal/util' ) ;
17+
18+ describe ( 'DecompressionStream kInspect method' , ( ) => {
19+ it ( 'should return a predictable inspection string with DecompressionStream' , ( ) => {
20+ const decompressionStream = new DecompressionStream ( 'deflate' ) ;
21+ const depth = 1 ;
22+ const options = { } ;
23+ const actual = decompressionStream [ kInspect ] ( depth , options ) ;
24+
25+ assert ( actual . includes ( 'DecompressionStream' ) ) ;
26+ assert ( actual . includes ( 'ReadableStream' ) ) ;
27+ assert ( actual . includes ( 'WritableStream' ) ) ;
28+ } ) ;
29+ } ) ;
30+
31+ describe ( 'CompressionStream kInspect method' , ( ) => {
32+ it ( 'should return a predictable inspection string with CompressionStream' , ( ) => {
33+ const compressionStream = new CompressionStream ( 'deflate' ) ;
34+ const depth = 1 ;
35+ const options = { } ;
36+ const actual = compressionStream [ kInspect ] ( depth , options ) ;
37+
38+ assert ( actual . includes ( 'CompressionStream' ) ) ;
39+ assert ( actual . includes ( 'ReadableStream' ) ) ;
40+ assert ( actual . includes ( 'WritableStream' ) ) ;
2941 } ) ;
30-
31- describe ( 'CompressionStream kInspect method' , ( ) => {
32- it ( 'should return a predictable inspection string with CompressionStream' , ( ) => {
33- const compressionStream = new CompressionStream ( 'deflate' ) ;
34- const depth = 1 ;
35- const options = { } ;
36- const actual = compressionStream [ kInspect ] ( depth , options ) ;
37-
38- assert ( actual . includes ( 'CompressionStream' ) ) ;
39- assert ( actual . includes ( 'ReadableStream' ) ) ;
40- assert ( actual . includes ( 'WritableStream' ) ) ;
41- } ) ;
42- } ) ;
42+ } ) ;
0 commit comments