/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
test/development/app-dir/devtools-position/default-position.test.ts
15 строк
490 B
Jiwon Choi
fix: devtools initial position should be from next config (#83571)
09 сен 2025, 02:12
Не верифицирован
09 сен 2025, 02:12
25b9f49
Код
Авторство
О чём код?
import { nextTestSetup } from 'e2e-utils' import { getDevIndicatorPosition } from './utils' describe('devtools-position-default', () => { const { next } = nextTestSetup({ files: __dirname, }) it('should devtools indicator position initially be bottom-left by default', async () => { const browser = await next.browser('/') const style = await getDevIndicatorPosition(browser) expect(style).toContain('bottom: 20px') expect(style).toContain('left: 20px') }) })