@@ -22,27 +22,27 @@ if (process.env.TEST_E2E && process.env.TEST_E2E_DEMO_SERVER) {
2222 } ) ;
2323 } ) ;
2424
25- // describe('FetchRpcClient', () => {
26- // const codec = cborCodec();
27- // const setup: ApiTestSetup = async () => setupDemoServerFetchClient(codec);
28- // describe(`protocol: application/x.${codec.specifier()}`, () => {
29- // runUtilTests(setup, {staticOnly: true} );
30- // runPubsubTests(setup, {staticOnly: true});
31- // runPresenceTests(setup, {staticOnly: true});
32- // runBlockTests(setup, {staticOnly: true});
33- // });
34- // });
25+ describe ( 'FetchRpcClient' , ( ) => {
26+ const codec = cborCodec ( ) ;
27+ const setup : ApiTestSetup = async ( ) => setupDemoServerFetchClient ( codec ) ;
28+ describe ( `protocol: application/x.${ codec . specifier ( ) } ` , ( ) => {
29+ runUtilTests ( setup ) ;
30+ runPubsubTests ( setup , { staticOnly : true } ) ;
31+ runPresenceTests ( setup , { staticOnly : true } ) ;
32+ runBlockTests ( setup , { staticOnly : true } ) ;
33+ } ) ;
34+ } ) ;
3535
36- // describe('StreamingRpcClient', () => {
37- // const codec = cborCodec();
38- // const setup: ApiTestSetup = async () => setupDemoServerStreamingClient(codec);
39- // describe(`protocol: application/x.${codec.specifier()}`, () => {
40- // runUtilTests(setup, {staticOnly: true} );
41- // runPubsubTests(setup, {staticOnly: true});
42- // runPresenceTests(setup, {staticOnly: true});
43- // runBlockTests(setup, {staticOnly: true});
44- // });
45- // });
36+ describe ( 'StreamingRpcClient' , ( ) => {
37+ const codec = cborCodec ( ) ;
38+ const setup : ApiTestSetup = async ( ) => setupDemoServerStreamingClient ( codec ) ;
39+ describe ( `protocol: application/x.${ codec . specifier ( ) } ` , ( ) => {
40+ runUtilTests ( setup ) ;
41+ runPubsubTests ( setup , { staticOnly : true } ) ;
42+ runPresenceTests ( setup , { staticOnly : true } ) ;
43+ runBlockTests ( setup , { staticOnly : true } ) ;
44+ } ) ;
45+ } ) ;
4646} else {
4747 test . skip ( 'set TEST_E2E=1 env var to run this test suite' , ( ) => { } ) ;
4848}
0 commit comments