diff options
author | Oisin Canty <o.canty@f5.com> | 2021-05-24 09:01:42 +0000 |
---|---|---|
committer | Oisin Canty <o.canty@f5.com> | 2021-05-24 09:01:42 +0000 |
commit | c160ea11e4ece4db52731ac8b83dd09ca2d1ef11 (patch) | |
tree | ebfd605f6e93a05b65bae5c327b47a1a764a8d63 /test/test_node_es_modules.py | |
parent | d6439002371d0bc73183c9d3d28df4f62ce0b972 (diff) | |
download | unit-c160ea11e4ece4db52731ac8b83dd09ca2d1ef11.tar.gz unit-c160ea11e4ece4db52731ac8b83dd09ca2d1ef11.tar.bz2 |
Node.js: renamed "require_shim" to "loader".
Diffstat (limited to 'test/test_node_es_modules.py')
-rw-r--r-- | test/test_node_es_modules.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_node_es_modules.py b/test/test_node_es_modules.py index ce27e474..0945a967 100644 --- a/test/test_node_es_modules.py +++ b/test/test_node_es_modules.py @@ -20,18 +20,18 @@ class TestNodeESModules(TestApplicationNode): assert resp['headers']['Content-Type'] == 'text/plain', 'basic header' assert resp['body'] == 'Hello World\n', 'basic body' - def test_node_es_modules_require_shim_http(self): - self.load('require_shim/es_modules_http', name="app.mjs") + def test_node_es_modules_loader_http(self): + self.load('loader/es_modules_http', name="app.mjs") self.assert_basic_application() - def test_node_es_modules_require_shim_http_indirect(self): - self.load('require_shim/es_modules_http_indirect', name="app.js") + def test_node_es_modules_loader_http_indirect(self): + self.load('loader/es_modules_http_indirect', name="app.js") self.assert_basic_application() - def test_node_es_modules_require_shim_websockets(self): - self.load('require_shim/es_modules_websocket', name="app.mjs") + def test_node_es_modules_loader_websockets(self): + self.load('loader/es_modules_websocket', name="app.mjs") message = 'blah' |