You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/validator/samples
Rich Harris f77314f647
increase test coverage
7 years ago
..
a11y-alt-text update some tests 7 years ago
a11y-anchor-has-content anchor-has-content 7 years ago
a11y-anchor-in-svg-is-valid Allow xlink:href attribute 7 years ago
a11y-anchor-is-valid anchor-is-valid 7 years ago
a11y-aria-props aria-props 7 years ago
a11y-aria-role aria-role 7 years ago
a11y-aria-unsupported-element heading-has-content 7 years ago
a11y-figcaption-right-place fix figcaption a11y warning - fixes #996 7 years ago
a11y-figcaption-wrong-place a11y checks (#374) 7 years ago
a11y-heading-has-content heading-has-content 7 years ago
a11y-html-has-lang fix a11y-html-has-lang unit test 7 years ago
a11y-iframe-has-title no-access-key 7 years ago
a11y-no-access-key no-autofocus 7 years ago
a11y-no-autofocus no-autofocus 7 years ago
a11y-no-distracting-elements no-distracting-elements 7 years ago
a11y-not-on-components do not run a11y validation on child component elements (#1110) 7 years ago
a11y-scope scope 7 years ago
a11y-tabindex-no-positive tabindex-no-positive 7 years ago
await-component-is-used validate contents of await blocks (#1061) 7 years ago
binding-input-checked add test 8 years ago
binding-input-type-boolean Increase code coverage 7 years ago
binding-input-type-dynamic Increase code coverage 7 years ago
binding-invalid validate bindings 8 years ago
binding-invalid-on-element validate bindings 8 years ago
component-cannot-be-called-state rename root to state, and allow state to be used as context 8 years ago
component-slot-default-duplicate.skip validation 7 years ago
component-slot-default-reserved validation 7 years ago
component-slot-dynamic validation 7 years ago
component-slot-dynamic-attribute validation 7 years ago
component-slot-each-block validation 7 years ago
component-slot-named-duplicate.skip validation 7 years ago
component-slotted-each-block compile time error on slotted content inside if/each blocks. closes #849 7 years ago
component-slotted-if-block compile time error on slotted content inside if/each blocks. closes #849 7 years ago
computed-purity-check-no-this tweak error wording slightly 7 years ago
computed-purity-check-this-get tweak error wording slightly 7 years ago
css-invalid-global simplify tests 8 years ago
css-invalid-global-placement refactoring, and more :global(...) fixes 8 years ago
each-block-invalid-context throw error on illegal context (#934) 7 years ago
each-block-invalid-context-destructured throw error on illegal context (#934) 7 years ago
each-block-multiple-children increase test coverage 7 years ago
empty-block-dev increase test coverage, handle immediately-closed blocks 7 years ago
empty-block-prod increase test coverage, handle immediately-closed blocks 7 years ago
event-handler-ref validate ref callees (#686) 8 years ago
event-handler-ref-invalid validate ref callees (#686) 8 years ago
export-default-duplicated move tests around to facilitate registering babel based on environment 8 years ago
export-default-must-be-object move tests around to facilitate registering babel based on environment 8 years ago
helper-clash-context always use helpers if referenced, not just for CallExpressions, and warn on context clashes (#575) 8 years ago
helper-purity-check-needs-arguments enforce helper function purity 8 years ago
helper-purity-check-no-this handle this.get special case in helpers 8 years ago
helper-purity-check-this-get tweak error wording slightly 7 years ago
helper-purity-check-uses-arguments enforce helper function purity 8 years ago
method-arrow-no-this move tests around to facilitate registering babel based on environment 8 years ago
method-arrow-this move tests around to facilitate registering babel based on environment 8 years ago
method-nonexistent allow options.* as event handler callee 7 years ago
method-nonexistent-helper allow options.* as event handler callee 7 years ago
method-quoted treat quoted property names the same way as identifiers - fixes #914 7 years ago
missing-component warn on missing component (#623) 8 years ago
named-export move tests around to facilitate registering babel based on environment 8 years ago
namespace-invalid validate namespaces 8 years ago
namespace-invalid-unguessable Increase code coverage 7 years ago
namespace-non-literal Increase code coverage 7 years ago
non-object-literal-components Increase code coverage 7 years ago
non-object-literal-events Increase code coverage 7 years ago
non-object-literal-helpers Increase code coverage 7 years ago
non-object-literal-methods Increase code coverage 7 years ago
non-object-literal-transitions Increase code coverage 7 years ago
oncreate-arrow-no-this move tests around to facilitate registering babel based on environment 8 years ago
oncreate-arrow-this move tests around to facilitate registering babel based on environment 8 years ago
ondestroy-arrow-no-this move tests around to facilitate registering babel based on environment 8 years ago
ondestroy-arrow-this move tests around to facilitate registering babel based on environment 8 years ago
properties-components-should-be-capitalised detect unused/misplaced components - closes #1039 7 years ago
properties-computed-cannot-be-reserved simplify test slightly, add test for reserved words 7 years ago
properties-computed-must-be-an-object move tests around to facilitate registering babel based on environment 8 years ago
properties-computed-must-be-functions move tests around to facilitate registering babel based on environment 8 years ago
properties-computed-must-be-valid-function-names simplify test slightly, add test for reserved words 7 years ago
properties-computed-no-destructuring move tests around to facilitate registering babel based on environment 8 years ago
properties-computed-values-needs-arguments move tests around to facilitate registering babel based on environment 8 years ago
properties-data-must-be-function move tests around to facilitate registering babel based on environment 8 years ago
properties-duplicated move tests around to facilitate registering babel based on environment 8 years ago
properties-methods-getters-setters better error for attempts to use getters/setters for methods. closes #425 8 years ago
properties-unexpected move tests around to facilitate registering babel based on environment 8 years ago
properties-unexpected-b move tests around to facilitate registering babel based on environment 8 years ago
slot-attribute-invalid Increase code coverage 7 years ago
store-unexpected allow event handlers to call store methods 7 years ago
svg-child-component-declared-namespace move tests around to facilitate registering babel based on environment 8 years ago
svg-child-component-undeclared-namespace move tests around to facilitate registering babel based on environment 8 years ago
tag-invalid Increase code coverage 7 years ago
tag-non-string Increase code coverage 7 years ago
textarea-value-children prevent textarea from having both value and children 8 years ago
title-no-attributes optimise <title> - fixes #1027 7 years ago
title-no-children optimise <title> - fixes #1027 7 years ago
transition-duplicate-in validate transition directives - closes #564 8 years ago
transition-duplicate-in-transition validate transition directives - closes #564 8 years ago
transition-duplicate-out validate transition directives - closes #564 8 years ago
transition-duplicate-out-transition validate transition directives - closes #564 8 years ago
transition-duplicate-transition validate transition directives - closes #564 8 years ago
transition-duplicate-transition-in validate transition directives - closes #564 8 years ago
transition-duplicate-transition-out validate transition directives - closes #564 8 years ago
transition-missing validate transition directives - closes #564 8 years ago
transition-on-component error if component has transition (fixes #791) 7 years ago
unused-components warn on unused events/transitions - fixes #1051 7 years ago
unused-event warn on unused events/transitions - fixes #1051 7 years ago
unused-helper.skip warn on unused events/transitions - fixes #1051 7 years ago
unused-transition warn on unused events/transitions - fixes #1051 7 years ago
window-binding-invalid enable <:Window bind:online/> - fixes #936 (#937) 7 years ago
window-binding-invalid-innerwidth validate <:Window> 8 years ago
window-binding-invalid-value validate <:Window> 8 years ago
window-binding-invalid-width validate <:Window> 8 years ago
window-binding-online enable <:Window bind:online/> - fixes #936 (#937) 7 years ago
window-event-invalid allow options.* as event handler callee 7 years ago