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/runtime/samples
Rich Harris ba822bd60c
Merge pull request #642 from sveltejs/gh-639-b
8 years ago
..
attribute-dynamic separate current *fragment* from current *generator state* 8 years ago
attribute-dynamic-multiple minor test tweaks 8 years ago
attribute-dynamic-reserved move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-dynamic-shorthand move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-dynamic-type only enforce static type if input is bound (fixes #620) 8 years ago
attribute-empty move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-empty-svg move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-namespaced replace all invalid characters in attribute names when creating variables (fixes #470) 8 years ago
attribute-partial-number move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-prefer-expression move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-static move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-static-boolean move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
autofocus move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-audio-currenttime-duration dont try to test audio stuff in JSDOM 8 years ago
binding-indirect mark indirect dependencies of <select> bindings - #639 8 years ago
binding-input-checkbox move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-checkbox-deep-contextual move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-checkbox-group move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-checkbox-group-outside-each failing test for #498 8 years ago
binding-input-number coerce empty string in number/range inputs to undefined - closes #584 8 years ago
binding-input-radio-group move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-range move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-text move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-text-contextual move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-text-deconflicted ensure var names in binding callbacks are unique — fixes #495 8 years ago
binding-input-text-deep move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-text-deep-computed support binding to computed member expressions (fixes #602) 8 years ago
binding-input-text-deep-computed-dynamic support binding to computed member expressions (fixes #602) 8 years ago
binding-input-text-deep-contextual move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-text-deep-contextual-computed-dynamic support binding to computed member expressions (fixes #602) 8 years ago
binding-input-with-event ensure binding event handlers precede normal ones (fixes #486) 8 years ago
binding-select Use .querySelector(':checked'), enable several <select> tests 8 years ago
binding-select-initial-value Use .querySelector(':checked'), enable several <select> tests 8 years ago
binding-select-initial-value-undefined skip failing SSR test for now 8 years ago
binding-select-late update select value bindings at the end of the cycle (fixes #476) 8 years ago
binding-select-multiple Use .querySelector(':checked'), enable several <select> tests 8 years ago
binding-textarea move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-blowback prevent component binding blowback on initial render 8 years ago
component-binding-computed allow components to have computed member expressions for bindings (fixes #624) 8 years ago
component-binding-conditional move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-conditional-b move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-deep move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-deep-b move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-each wait this is actually way easier 8 years ago
component-binding-each-nested move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-each-object move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-infinite-loop move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-nested move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-parent-supercedes-child move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-dynamic move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-dynamic-late move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-dynamic-shorthand move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-empty move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-static move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-static-boolean move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-events move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-events-data move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-events-each move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-if-placement failing test for #569 8 years ago
component-nested-deep more improvements to ergonomics around test failures 8 years ago
component-not-void move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-ref move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-yield move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-yield-follows-element fix for #524 8 years ago
component-yield-if move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-yield-multiple-in-each move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-yield-multiple-in-if move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-yield-nested-if separate unmount from destroy 8 years ago
component-yield-parent more tidying up 8 years ago
component-yield-placement failing test for #561 8 years ago
component-yield-static only call .update on yield fragment if it's present (#514) 8 years ago
computed-empty move some tests to where they belong 8 years ago
computed-function move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
computed-values move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
computed-values-default move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
computed-values-function-dependency move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
css move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
css-comments move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
css-false move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
css-space-in-attribute move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
custom-method move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
deconflict-builtins move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
deconflict-contexts move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
deconflict-non-helpers move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
deconflict-template-1 move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
deconflict-template-2 move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
default-data move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
default-data-function move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
default-data-override move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
destructuring move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
dev-warning-bad-observe-arguments move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
dev-warning-destroy-not-teardown move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
dev-warning-helper make all tests run 8 years ago
dev-warning-missing-data only warn on missing properties in dev mode, do not warn on whitelisted globals 8 years ago
dev-warning-missing-data-binding only warn on missing properties in dev mode, do not warn on whitelisted globals 8 years ago
dev-warning-readonly-computed throw if user sets read-only properties in dev mode 8 years ago
dev-warning-readonly-window-binding throw if user sets read-only properties in dev mode 8 years ago
each-block minor test tweaks 8 years ago
each-block-containing-component-in-if add test for #610 8 years ago
each-block-containing-if move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-block-dynamic-else-static null out else block references when they are destroyed — fixes #509 8 years ago
each-block-else all tests passing once more. now the real work begins 8 years ago
each-block-indexed move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-block-keyed move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-block-keyed-dynamic update dynamic keyed each blocks 8 years ago
each-block-keyed-random-permute another crack at the algorithm. outros not currently applied 8 years ago
each-block-random-permute move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-block-text-node move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-blocks-expression move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-blocks-nested move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-blocks-nested-b move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
element-invalid-name replace invalid characters in element names when creating variables (#516) 8 years ago
empty-style-block correctly handle empty <style> tag (#634) 8 years ago
escape-template-literals also escape back-ticks and backslashes in text nodes in SSR code (#616) 8 years ago
event-handler hoist some event handlers, rewrite non-hoisted ones to avoid binding 8 years ago
event-handler-custom move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
event-handler-custom-context move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
event-handler-custom-each hoist some event handlers, rewrite non-hoisted ones to avoid binding 8 years ago
event-handler-custom-node-context move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
event-handler-destroy include destroy as valid built-in method for event handlers (fixes #523) 8 years ago
event-handler-each hoist some event handlers, rewrite non-hoisted ones to avoid binding 8 years ago
event-handler-each-deconflicted ensure hoisted event handler names are globally unique — fixes #466 8 years ago
event-handler-event-methods move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
event-handler-removal move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
event-handler-sanitize sanitize event name in handler function name (#612) 8 years ago
event-handler-this-methods move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
events-custom move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
events-lifecycle move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
function-in-expression move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
get-state move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
globals-accessible-directly move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
globals-not-dereferenced move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
globals-shadowed-by-data move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
globals-shadowed-by-helpers move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
hello-world move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
helpers move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
helpers-not-call-expression always use helpers if referenced, not just for CallExpressions, and warn on context clashes (#575) 8 years ago
html-entities some more html entity stuff, the bits i understand at least 8 years ago
if-block another horrible half-done commit 8 years ago
if-block-else move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
if-block-elseif move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
if-block-elseif-text move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
if-block-expression move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
if-block-or fix simple if blocks with top-level or conditions (#532) 8 years ago
if-block-widget only create anchors for if blocks when necessary 8 years ago
imported-renamed-components move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
inline-expressions move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
input-list move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
lifecycle-events move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
names-deconflicted move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
names-deconflicted-nested move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
nbsp move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
observe-component-ignores-irrelevant-changes move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
observe-deferred move some tests to where they belong 8 years ago
observe-prevents-loop move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
onrender-chain move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
onrender-fires-when-ready move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
onrender-fires-when-ready-nested move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
paren-wrapped-expressions fix parsing of expressions wrapped in parentheses (#534) 8 years ago
pass-no-options baby steps... 8 years ago
raw-mustaches move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
raw-mustaches-preserved move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
refs move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
refs-unset move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
select move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
select-bind-array formatting 8 years ago
select-change-handler Use .querySelector(':checked'), enable several <select> tests 8 years ago
select-no-whitespace dont create whitespace nodes inside elements like <select> (#189) 8 years ago
select-one-way-bind move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
select-one-way-bind-object Use .querySelector(':checked'), enable several <select> tests 8 years ago
select-props add unit test 8 years ago
self-reference another horrible half-done commit 8 years ago
self-reference-tree move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
set-clones-input clone before set — fixes #479 8 years ago
set-in-observe move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
set-in-observe-dedupes-renders move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
set-in-onrender move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
set-prevents-loop move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
single-static-element move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
single-text-node move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
state-deconflicted rename root to state, and allow state to be used as context 8 years ago
svg move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-attributes move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-child-component-declared-namespace move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-child-component-declared-namespace-shorthand move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-class move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-each-block-namespace move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-multiple move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-no-whitespace move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-xlink move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-xmlns move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
textarea-children treat <textarea> children the same as a value attribute 8 years ago
textarea-value use value property for textareas 8 years ago
transition-css-delay apply t0 styles to nodes if css transition has delay. fixes #574 8 years ago
transition-js-delay apply delays to bidirectional transitions - fixes #562 8 years ago
transition-js-delay-in-out apply delays to bidirectional transitions - fixes #562 8 years ago
transition-js-dynamic-if-block-bidi apply delays to bidirectional transitions - fixes #562 8 years ago
transition-js-each-block-intro intro transitions in each-blocks 8 years ago
transition-js-each-block-intro-outro oops 8 years ago
transition-js-each-block-keyed-intro fix mount order of keyed each-block with intros 8 years ago
transition-js-each-block-keyed-intro-outro handle bidirectional transitions 8 years ago
transition-js-each-block-keyed-outro update keyed each-block outro test to check div order 8 years ago
transition-js-each-block-outro unkeyed each-blocks with outros 8 years ago
transition-js-if-block-bidi tighten up transition tests 8 years ago
transition-js-if-block-intro tighten up transition tests 8 years ago
transition-js-if-block-intro-outro tighten up transition tests 8 years ago
transition-js-if-else-block-dynamic-outro fix outros on compound if blocks, get IfBlock.js coverage to 100% 8 years ago
transition-js-if-else-block-intro tighten up transition tests 8 years ago
transition-js-if-else-block-outro fix outros on compound if blocks, get IfBlock.js coverage to 100% 8 years ago
transition-js-if-elseif-block-outro fix outros on compound if blocks, get IfBlock.js coverage to 100% 8 years ago
window-bind-scroll-update window scroll bindings are bidirectional (#404) 8 years ago
window-binding-resize move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
window-event move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
window-event-context allow window events to access state 8 years ago