cypress/platform/viewer.js
Function contentLoadedApi
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const contentLoadedApi = async function () {
let pos = document.location.href.indexOf('?graph=');
if (pos > 0) {
pos = pos + 7;
const graphBase64 = document.location.href.substr(pos);
Function contentLoaded
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const contentLoaded = async function () {
let pos = document.location.href.indexOf('?graph=');
if (pos > 0) {
pos = pos + 7;
const graphBase64 = document.location.href.substr(pos);