diff --git a/src/ReactiveTools.jl b/src/ReactiveTools.jl index 9afe1c2b..60f6c7c3 100644 --- a/src/ReactiveTools.jl +++ b/src/ReactiveTools.jl @@ -355,15 +355,6 @@ macro clear_debounce() :(Stipple.debounce(Stipple.@type(), nothing)) |> esc end -function update_storage(m::Module) - clear_type(m) - # isempty(Stipple.Pages._pages) && return - # instance = @eval m Stipple.@type() - # for p in Stipple.Pages._pages - # p.context == m && (p.model = instance) - # end -end - import Stipple: @vars macro vars(expr) diff --git a/test/runtests.jl b/test/runtests.jl index dffaf611..afcbd527 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -311,6 +311,9 @@ end s1 = string_get("http://localhost:$port/") s2 = string_get("http://localhost:$port/") s3 = string_get("http://localhost:$port/", cookies = false) + # execute without cookies twice due to strange behavior of the first request + # - only observed when running include("test/runtests.jl") in the REPL twice + s3 = string_get("http://localhost:$port/", cookies = false) s4 = string_get("http://localhost:$port/static") s5 = string_get("http://localhost:$port/static") @@ -371,6 +374,8 @@ end s1 = string_get("http://localhost:$port/") s2 = string_get("http://localhost:$port/") s3 = string_get("http://localhost:$port/", cookies = false) + # execute twice, see above + s3 = string_get("http://localhost:$port/", cookies = false) s4 = string_get("http://localhost:$port/static") s5 = string_get("http://localhost:$port/static")