aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/doc/how-tos/how-to-cpp-enum-js/script.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/doc/how-tos/how-to-cpp-enum-js/script.mjs')
-rw-r--r--tests/auto/quick/doc/how-tos/how-to-cpp-enum-js/script.mjs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/quick/doc/how-tos/how-to-cpp-enum-js/script.mjs b/tests/auto/quick/doc/how-tos/how-to-cpp-enum-js/script.mjs
index a4f929222a..c9d1cffce9 100644
--- a/tests/auto/quick/doc/how-tos/how-to-cpp-enum-js/script.mjs
+++ b/tests/auto/quick/doc/how-tos/how-to-cpp-enum-js/script.mjs
@@ -1,6 +1,8 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+import { Backend } from "MyApp"
+
//! [file]
export function backendStatusUpdate(backendStatus) {
if (backendStatus === Backend.Error) {