diff --git a/test/define.js b/test/define.js
index <HASH>..<HASH> 100644
--- a/test/define.js
+++ b/test/define.js
@@ -389,7 +389,7 @@ describe("define", function () {
 
 });
 
-if (gpf.host() === gpf.hosts.nodejs) {
+if (config.features.es6class) {
 
     include("define.es6");
Use features (#<I>)