aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-10-15 10:39:40 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-10-15 13:49:14 +0200
commit3d0bec491e6d823df510ba12dba38be820116e86 (patch)
treedb6eeb60cfa214e9aa3c8e3ae56e8f971c2e643f /tests/auto/qml/qmllint/data
parentedc8512580fa16892dc13034e93300cc6a2bba59 (diff)
qmllint: Parse .mjs files as JavaScript rather than QML
Change-Id: I80783289452300d4609a27f5b470ecdeeeca5e71 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data')
-rw-r--r--tests/auto/qml/qmllint/data/esmodule.mjs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/esmodule.mjs b/tests/auto/qml/qmllint/data/esmodule.mjs
new file mode 100644
index 0000000000..50a53be2b1
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/esmodule.mjs
@@ -0,0 +1,2 @@
+
+export function test() { console.log("hello world"); }