11cb0ef41Sopenharmony_ci'use strict'; 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_cirequire('../common'); 41cb0ef41Sopenharmony_ciconst assert = require('assert'); 51cb0ef41Sopenharmony_ci 61cb0ef41Sopenharmony_ciconst keys = new Set(Object.keys(process.features)); 71cb0ef41Sopenharmony_ci 81cb0ef41Sopenharmony_ciassert.deepStrictEqual(keys, new Set([ 91cb0ef41Sopenharmony_ci 'inspector', 101cb0ef41Sopenharmony_ci 'debug', 111cb0ef41Sopenharmony_ci 'uv', 121cb0ef41Sopenharmony_ci 'ipv6', 131cb0ef41Sopenharmony_ci 'tls_alpn', 141cb0ef41Sopenharmony_ci 'tls_sni', 151cb0ef41Sopenharmony_ci 'tls_ocsp', 161cb0ef41Sopenharmony_ci 'tls', 171cb0ef41Sopenharmony_ci 'cached_builtins', 181cb0ef41Sopenharmony_ci])); 191cb0ef41Sopenharmony_ci 201cb0ef41Sopenharmony_cifor (const key of keys) { 211cb0ef41Sopenharmony_ci assert.strictEqual(typeof process.features[key], 'boolean'); 221cb0ef41Sopenharmony_ci} 23