diff --git a/test/www/jxcore/bv_tests/testThaliNativeLayer.js b/test/www/jxcore/bv_tests/testThaliNativeLayer.js
index <HASH>..<HASH> 100644
--- a/test/www/jxcore/bv_tests/testThaliNativeLayer.js
+++ b/test/www/jxcore/bv_tests/testThaliNativeLayer.js
@@ -1,6 +1,6 @@
 'use strict';
 
-if (typeof Mobile === 'undefined') {
+if (!jxcore.utils.OSInfo().isMobile) {
   return;
 }
Disable the Thali native layer test on desktop.

It doesn't work anymore due to the way the Wifi infrastructure handles
the express router object.