/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
test/development/app-dir/devtool-copy-button/devtool-copy-button.test.ts
20 строк
521 B
Sebastian "Sebbie" Silbermann
Allow attaching a debugger when `next dev` is already running (#86083)
17 ноя 2025, 11:00
Не верифицирован
17 ноя 2025, 11:00
b3b97bc
Код
Авторство
О чём код?
import { nextTestSetup } from 'e2e-utils' describe('app-dir - devtool-copy-button', () => { const { next } = nextTestSetup({ files: __dirname, env: { NODE_OPTIONS: '--inspect', DEBUG: '1', }, }) it('should has inspect url copy button', async () => { const browser = await next.browser('/') expect( await browser .elementByCss('[data-nextjs-data-runtime-error-copy-devtools-url]') .getAttribute('aria-label') ).toBe('Copy DevTools URL for Chrome') }) })