12 lines · 505 B · TypeScript
RawDownload
import { describe, expect, it } from "vite-plus/test"; import packageJson from "../package.json" with { type: "json" };import mainSource from "./main.tsx?raw"; describe("React Grab runtime boundary", () => {  it("keeps the host renderer free of the React Grab overlay", () => {    expect(mainSource).not.toMatch(/import\(["']react-grab["']\)/);    expect(packageJson.dependencies).not.toHaveProperty("react-grab");    expect(packageJson.devDependencies).not.toHaveProperty("react-grab");  });});

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t