From 7303e811be7c25a7ece65ee7f637aaa1358c844f Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 3 May 2018 21:54:23 -0400 Subject: [PATCH] update tests, move test app to v2 --- package.json | 16 ++++++++-------- test/app/routes/4xx.html | 8 ++++---- test/app/routes/5xx.html | 6 +++--- test/app/routes/about.html | 4 ++-- test/app/routes/blog/[slug].html | 10 +++++----- test/app/routes/blog/index.html | 10 +++++----- test/app/routes/credentials/index.html | 2 +- test/app/routes/index.html | 6 +++--- test/app/routes/preload-values/custom-class.html | 2 +- test/app/routes/preload-values/set.html | 2 +- test/app/routes/show-url.html | 2 +- test/app/routes/store.html | 2 +- 12 files changed, 35 insertions(+), 35 deletions(-) diff --git a/package.json b/package.json index 2d52c51..0108244 100644 --- a/package.json +++ b/package.json @@ -34,13 +34,13 @@ "rimraf": "^2.6.2", "sade": "^1.4.0", "sander": "^0.6.0", - "source-map-support": "^0.5.4", + "source-map-support": "^0.5.5", "tslib": "^1.9.0", "url-parse": "^1.2.0", "webpack-format-messages": "^1.0.2" }, "devDependencies": { - "@std/esm": "^0.25.3", + "@std/esm": "^0.26.0", "@types/glob": "^5.0.34", "@types/mkdirp": "^0.5.2", "@types/rimraf": "^2.0.2", @@ -53,16 +53,16 @@ "nightmare": "^3.0.0", "npm-run-all": "^4.1.2", "polka": "^0.3.4", - "rollup": "^0.57.0", - "rollup-plugin-commonjs": "^9.1.0", + "rollup": "^0.58.2", + "rollup-plugin-commonjs": "^9.1.3", "rollup-plugin-json": "^2.3.0", "rollup-plugin-string": "^2.0.2", "rollup-plugin-typescript": "^0.8.1", "serve-static": "^1.13.2", - "svelte": "^1.57.4", - "svelte-loader": "^2.5.1", - "ts-node": "^5.0.1", - "typescript": "^2.6.2", + "svelte": "^2.4.4", + "svelte-loader": "^2.9.0", + "ts-node": "^6.0.2", + "typescript": "^2.8.3", "walk-sync": "^0.3.2", "webpack": "^4.1.0" }, diff --git a/test/app/routes/4xx.html b/test/app/routes/4xx.html index df21c6b..c63ca84 100644 --- a/test/app/routes/4xx.html +++ b/test/app/routes/4xx.html @@ -1,6 +1,6 @@ -<:Head> - {{status}} - + + {status} +

Not found

-

{{error.message}}

\ No newline at end of file +

{error.message}

\ No newline at end of file diff --git a/test/app/routes/5xx.html b/test/app/routes/5xx.html index 9208b04..1425e2a 100644 --- a/test/app/routes/5xx.html +++ b/test/app/routes/5xx.html @@ -1,6 +1,6 @@ -<:Head> + Internal server error - +

Internal server error

-

{{error.message}}

\ No newline at end of file +

{error.message}

\ No newline at end of file diff --git a/test/app/routes/about.html b/test/app/routes/about.html index e09a72e..605e0db 100644 --- a/test/app/routes/about.html +++ b/test/app/routes/about.html @@ -1,6 +1,6 @@ -<:Head> + About - +

About this site

diff --git a/test/app/routes/blog/[slug].html b/test/app/routes/blog/[slug].html index ac5245b..7fdc8b4 100644 --- a/test/app/routes/blog/[slug].html +++ b/test/app/routes/blog/[slug].html @@ -1,11 +1,11 @@ -<:Head> - {{post.title}} - + + {post.title} + -

{{post.title}}

+

{post.title}

- {{{post.html}}} + {@html post.html}