summaryrefslogtreecommitdiffhomepage
path: root/test/test_node_es_modules.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_node_es_modules.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/test_node_es_modules.py b/test/test_node_es_modules.py
index 8a9cb181..10f9eab0 100644
--- a/test/test_node_es_modules.py
+++ b/test/test_node_es_modules.py
@@ -2,14 +2,12 @@ from packaging import version
from unit.applications.lang.node import TestApplicationNode
from unit.applications.websockets import TestApplicationWebsocket
+prerequisites = {
+ 'modules': {'node': lambda v: version.parse(v) >= version.parse('14.16.0')}
+}
-class TestNodeESModules(TestApplicationNode):
- prerequisites = {
- 'modules': {
- 'node': lambda v: version.parse(v) >= version.parse('14.16.0')
- }
- }
+class TestNodeESModules(TestApplicationNode):
es_modules = True
ws = TestApplicationWebsocket()