Your app looks AI-generated. Vincent Van Gogh noticed. An agent skill that finds and fixes AI-looking UI and UX in mobile apps, web apps, and websites.
JavaScript accessibilityagent-skillsagent-skills-toolsagentsagentskillsai-slopclaudeclaude-codeclaude-skillsexpoflutterfrontendionicjetpack-composemobilereact-nativeswiftuiuiuxvibe-coding
test(drawer-nav): exercise mobile mode in scanSource tests (#346)
CloudGPU925289bc87d9
diff --git a/test/detect.test.js b/test/detect.test.jsindex 524dda2..62e0e6c 100644--- a/test/detect.test.js+++ b/test/detect.test.js@@ -2671,7 +2671,7 @@ test("drawer-nav catches Heroicons Bars3Icon, Tabler IconMenu2 and Ionic IonMenu});test("drawer-nav catches React Native Paper's icon=\"menu\" (issue #226)", () => {- const lines = (src, file = "Header.tsx") => scanSource(src, file, { platform: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => [f.line, f.severity]);+ const lines = (src, file = "Header.tsx") => scanSource(src, file, { kind: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => [f.line, f.severity]);// Issue #226 repro:const repro = ['import { Appbar } from "react-native-paper";',@@ -2697,7 +2697,7 @@ test("drawer-nav catches React Native Paper's icon=\"menu\" (issue #226)", () =>});test("drawer-nav catches Ionic's IonMenuToggle (issue #265)", () => {- const lines = (src, file = "Header.tsx") => scanSource(src, file, { platform: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => [f.line, f.severity]);+ const lines = (src, file = "Header.tsx") => scanSource(src, file, { kind: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => [f.line, f.severity]);// Issue #265 repro:const repro = ['import { IonMenuToggle, IonButton } from "@ionic/react";',@@ -2722,7 +2722,7 @@ test("drawer-nav catches Ionic's IonMenuToggle (issue #265)", () => {});test("drawer-nav catches Quasar's q-drawer and QDrawer, not a tab layout (issue #281)", () => {- const lines = (src, file = "Layout.vue") => scanSource(src, file, { platform: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => [f.line, f.severity]);+ const lines = (src, file = "Layout.vue") => scanSource(src, file, { kind: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => [f.line, f.severity]);// Issue #281 repro:const repro = ["<template>",@@ -3324,7 +3324,7 @@ test("sparkle-icon catches Primer SparkleFillIcon and SparklesFillIcon (issue #3test("drawer-nav catches Angular Material mat-sidenav and mat-drawer (issue #300)", () => {const drawerLines = (src, file = "shell.component.html") =>- scanSource(src, file, { platform: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => f.line);+ scanSource(src, file, { kind: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => f.line);const repro = ["<mat-sidenav-container>",@@ -3352,7 +3352,7 @@ test("drawer-nav catches Angular Material mat-sidenav and mat-drawer (issue #300test("drawer-nav catches Vuetify v-navigation-drawer and VNavigationDrawer (issue #301)", () => {const drawerLines = (src, file = "App.vue") =>- scanSource(src, file, { platform: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => f.line);+ scanSource(src, file, { kind: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => f.line);const kebab = ["<template>",@@ -3373,7 +3373,7 @@ test("drawer-nav catches Vuetify v-navigation-drawer and VNavigationDrawer (issu});test("drawer-nav catches Flutter's endDrawer, not a bottom navigation bar (issue #327)", () => {- const lines = (src, file = "home.dart") => scanSource(src, file, { platform: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => [f.line, f.severity]);+ const lines = (src, file = "home.dart") => scanSource(src, file, { kind: "mobile" }).filter((f) => f.rule === "drawer-nav").map((f) => [f.line, f.severity]);// Issue #327 repro:const repro = ["import 'package:flutter/material.dart';",