CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-confusing-browser-globals

A curated list of browser globals that commonly cause confusion and are not recommended to use without an explicit window qualifier

Overall
score

97%

Overview
Eval results
Files

Evaluation results

65%

10%

User Profile Component Testing

Snapshot testing support

Criteria
Without context
With context

Uses toMatchSnapshot

0%

0%

Renders with Testing Library

100%

100%

Complete data test

75%

100%

Missing bio test

75%

100%

Jest test blocks

33%

33%

100%

Modern JavaScript Transpiler

Babel preset for JavaScript/JSX transformation

Criteria
Without context
With context

babel-preset-react-app usage

100%

100%

@babel/core integration

100%

100%

Preset configuration

100%

100%

JSX transformation

100%

100%

Error handling

100%

100%

Result extraction

100%

100%

100%

10%

Development Server Configuration Utility

Development server with hot module replacement

Criteria
Without context
With context

Port config implementation

100%

100%

HTTPS detection logic

80%

100%

Browser config handling

80%

100%

Proxy validation

100%

100%

100%

Webpack Build Reporter

Webpack message prettification

Criteria
Without context
With context

Import react-dev-utils

100%

100%

Call formatWebpackMessages

100%

100%

Handle formatted output

100%

100%

Display formatted messages

100%

100%

Return build status

100%

100%

100%

API Request Proxy Configuration

Proxy configuration for API requests

Criteria
Without context
With context

Import createProxyMiddleware

100%

100%

Export configuration function

100%

100%

Register API proxy

100%

100%

Configure path rewriting

100%

100%

Enable changeOrigin

100%

100%

Register WebSocket proxy

100%

100%

Enable WebSocket support

100%

100%

Configure debug logging

100%

100%

100%

10%

User Profile Component

CSS Modules with scoped styles

Criteria
Without context
With context

CSS Module file creation

100%

100%

CSS Module import

33%

100%

Scoped class application

100%

100%

Multiple scoped classes

100%

100%

Dynamic class application

100%

100%

Style definitions

100%

100%

100%

TypeScript Project Analyzer

TypeScript integration with parallel type checking

Criteria
Without context
With context

TypeScript Compiler Usage

100%

100%

Configuration Detection

100%

100%

Dependency Verification

100%

100%

Error Collection

100%

100%

File Discovery

100%

100%

Result Structure

100%

100%

100%

25%

Component Styling System

CSS support (plain CSS and imports)

Criteria
Without context
With context

CSS File Import

0%

100%

Separate CSS File

100%

100%

CSS Class Application

100%

100%

CSS Selectors

100%

100%

Working Styles

100%

100%

100%

Build Configuration Tool

Webpack configuration (development and production)

Criteria
Without context
With context

Mode configuration

100%

100%

Development devtool

100%

100%

Production devtool

100%

100%

DevServer configuration

100%

100%

Hot module replacement

100%

100%

DevServer port

100%

100%

DevServer open

100%

100%

Production optimization

100%

100%

Output filename hashing

100%

100%

Environment validation

100%

100%

100%

32%

SPA Router Fallback Server

History API fallback for SPAs

Criteria
Without context
With context

connect() usage

100%

100%

serveStatic middleware

0%

100%

Fallback middleware

100%

100%

Middleware ordering

100%

100%

Server listening

80%

100%

Install with Tessl CLI

npx tessl i tessl/npm-confusing-browser-globals
Evaluated
Agent
Codex

Table of Contents