forked from icd/rentgen
- Add Selenium WebDriver for browser extension testing - Simplify test content script (only essential DOM attributes) - Rename test-content-script.js → inner-test-content-script.js for clarity - Add DEBUG_ prefix to test event name (DEBUG_rentgen_test_request) - Auto-restore manifest.json after tests (git checkout) - Include tests in run-checks.sh script - Update Dockerfile to use Selenium instead of Marionette - Ignore tests directory in web-ext lint 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
262 B
Bash
Executable File
17 lines
262 B
Bash
Executable File
#!/bin/bash
|
|
# Code quality checks for Rentgen extension
|
|
# Runs typecheck and lint
|
|
|
|
set -e
|
|
|
|
echo "Running type checking..."
|
|
npm run typecheck
|
|
|
|
echo "Running linter..."
|
|
npm run lint
|
|
|
|
echo "Running tests..."
|
|
npm run test
|
|
|
|
echo "✓ All code quality checks passed!"
|