/
githubmirror
/
Leaflet
Обзор
Документация
Войти
/
githubmirror
/
Leaflet
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
spec/debug.html
51 строка
2 KB
Jon Koops
Upgrade chai to v6 (#9887)
15 сен 2025, 18:47
Не верифицирован
15 сен 2025, 18:47
d261e16
Код
Авторство
О чём код?
<!doctype html> <!-- This file is almost the same as context.html - loads all source files, but its purpose is to be loaded in the main frame (not within an iframe), just for immediate execution, without reporting to Karma server. --> <html> <head> %X_UA_COMPATIBLE% <title>Karma DEBUG RUNNER</title> <link href="favicon.ico" rel="icon" type="image/x-icon" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> <script type="importmap"> { "imports": { "leaflet": "/base/src/Leaflet.js", "chai": "/base/node_modules/chai/index.js", "prosthetic-hand": "/base/node_modules/prosthetic-hand/lib/Hand.js", "sinon": "/base/node_modules/sinon/pkg/sinon-esm.js", "ui-event-simulator": "/base/node_modules/ui-event-simulator/ui-event-simulator.js" } } </script> </head> <body> <!-- The scripts need to be at the end of body, so that some test running frameworks (Angular Scenario, for example) need the body to be loaded so that it can insert its magic into it. If it is before body, then it fails to find the body and crashes and burns in an epic manner. --> <script src="context.js"></script> <script src="debug.js"></script> <script type="text/javascript"> // Configure our Karma %CLIENT_CONFIG% // All served files with the latest timestamps %MAPPINGS% </script> <!-- Dynamically replaced with <script> tags --> %SCRIPTS% <!-- Since %SCRIPTS% might include modules, the `loaded()` call needs to be in a module too. This ensures all the tests will have been declared before karma tries to run them. --> <script type="module"> window.__karma__.loaded(); </script> <script nomodule> window.__karma__.loaded(); </script> </body> </html>