Mercurial > hg > nginx-tests
diff js_paths.t @ 1614:bc0990ea2e5b
Tests: js TODO adjusted up to 0.4.0.
author | Dmitry Volyntsev <xeioex@nginx.com> |
---|---|
date | Tue, 17 Nov 2020 17:49:16 +0000 |
parents | f4ae08adc23f |
children | 18ac4d9e5a2a |
line wrap: on
line diff
--- a/js_paths.t +++ b/js_paths.t @@ -44,10 +44,6 @@ http { listen 127.0.0.1:8080; server_name localhost; - location /njs { - js_content test_njs; - } - location /test { js_content test; } @@ -65,10 +61,6 @@ EOF import m2 from 'module2.js'; import m3 from 'lib1/module1.js'; - function test_njs(r) { - r.return(200, njs.version); - } - function test(r) { r.return(200, m1[r.args.fun](r.args.a, r.args.b)); }