A lightning-fast frontend build tool designed to leverage JavaScript's native ESM system for unbundled development with instant browser updates.
82
{
"context": "This evaluation assesses how well the engineer uses Snowpack's test integration capabilities to configure test file patterns, test mode, and test environment variables in a generated Snowpack configuration file.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Test Pattern Configuration",
"description": "Uses Snowpack's test pattern configuration (e.g., via exclude patterns or mount options) to properly handle test files specified in testPatterns. The configuration should recognize test files like '**/*.test.js' and '**/*.spec.js'.",
"max_score": 30
},
{
"name": "Test Mode Flag",
"description": "Correctly configures Snowpack's test mode when enableTestMode is true. This should use Snowpack's mode configuration option or equivalent test-specific settings.",
"max_score": 25
},
{
"name": "Environment Variables",
"description": "Properly configures test environment variables using Snowpack's env configuration. The generated config should include environment variables from testEnvVars in the Snowpack configuration's env section.",
"max_score": 25
},
{
"name": "Config File Generation",
"description": "Generates a valid JavaScript module that exports a Snowpack configuration object following Snowpack's configuration schema. The file should be syntactically correct and follow Snowpack's expected configuration structure.",
"max_score": 15
},
{
"name": "Edge Case Handling",
"description": "Handles edge cases like empty test patterns array by generating appropriate configuration (e.g., not including test pattern configuration when patterns are empty).",
"max_score": 5
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-snowpackevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10