Commit Graph

43 Commits

Author SHA1 Message Date
Pooya Parsa 85e7641bae update tests 2017-08-19 16:03:24 +04:30
Pooya Parsa c5a5dac627 update tests 2017-08-18 16:02:25 +04:30
Sebastien Chopin af60ba21c0 Remove JS files for pages & layouts 2017-08-17 15:23:40 +02:00
Wu Haotian 814590c15a add .js files for layouts and pages 2017-08-14 18:09:27 +08:00
Pooya Parsa 7dd00a7c50 fix error pages layout
error page itself is a kind of layout so we should purely render it to avoid style conflicts
2017-08-10 15:07:23 +04:30
Pooya Parsa 68326a6c9b chore: update tests 2017-07-22 23:49:35 +04:30
Pooya Parsa 75d933aac6 tests: update with-config
Two index files are generated now so increase assets.length by 1
2017-07-11 13:40:46 +04:30
Pooya Parsa d42819ee91 update tests 2017-06-20 17:25:52 +04:30
Pooya Parsa daa50e4efb refactor server into nuxt 2017-06-20 16:14:47 +04:30
Sébastien Chopin c26daa9e8f Fix tests 2017-06-18 19:33:23 +02:00
Pooya Parsa 8f2945111a use nuxtAppDir 2017-06-16 17:34:42 +04:30
Pooya Parsa 45485f5b8a update tests 2017-06-16 17:19:35 +04:30
Pooya Parsa 25f11a05ab fix tests 2017-06-16 03:17:47 +04:30
Pooya Parsa 2576e8795e init() ~> ready() 2017-06-15 19:29:26 +04:30
Pooya Parsa 25d106e2ab runBuild option 2017-06-14 23:21:14 +04:30
Pooya Parsa 42bf9bb41d decouple builder from renderer + improvements 2017-06-14 20:43:43 +04:30
Pooya Parsa b61694ca21 clone options to prevent unwanted side-effects
fixes with-config test that runs nuxt twice with same nuxt.config.js file
2017-06-14 03:22:30 +04:30
Pooya Parsa c5ca8c64f1 refactor: nuxt constructor no longer returns a promise
by not returning a promise we can expose .render method
also the old way of using nuxt won't change by 1.x release
2017-05-31 18:51:16 +04:30
Sebastien Chopin 979e15db2a Update JSDOM logic 2017-05-30 18:18:01 +02:00
Sebastien Chopin eaee5afbde Add `render.static` option to customize `serve-static` middleware 2017-05-22 12:51:03 +02:00
Sébastien Chopin e5052c3a87 Update test 2017-05-21 21:00:01 +02:00
Sébastien Chopin c5b5913402 Update test 2017-05-21 19:18:26 +02:00
Pooya Parsa 34ac2f8b1c t.pass() 2017-05-15 15:36:23 +04:30
Pooya Parsa 32ac90482e Merge remote-tracking branch 'remotes/origin/fix-middleware' into dev
# Conflicts:
#	lib/app/server.js
#	lib/app/utils.js
#	lib/generate.js
#	yarn.lock
2017-05-15 15:33:52 +04:30
Pooya Parsa b0b9101a8d [tests] await for nuxt initialization
Nuxt constructor is now returning a promise, so we should await it before using
2017-05-12 00:19:02 +04:30
Sebastien Chopin ac836c77de Update tests 2017-05-11 13:37:21 +02:00
Pooya Parsa 98ffc2110b [tests] ensure global styles are inlined 2017-05-05 18:55:17 +04:30
Pooya Parsa 6945479984 fix test resources 2017-04-27 20:02:41 +04:30
Sébastien Chopin cce71ce8d5 Add test for offline-plugin 2017-04-17 15:58:18 +02:00
Sébastien Chopin d63b34de78 Fix tests 2017-03-26 00:58:10 +01:00
Sébastien Chopin 3b635323a4 Add layout in __NUXT__ 2017-03-25 18:59:58 +01:00
Sébastien Chopin 4431dfa368 revert to no-cdn publicPath 2017-03-24 18:54:54 +01:00
Sébastien Chopin 05c6dd958c Use CDN url for publicPath 2017-03-24 18:46:18 +01:00
Sébastien Chopin 184bd01b2b Coverage for template and publicPath 2017-03-24 18:35:30 +01:00
Sébastien Chopin 221bcb5e33 Fix tests 2017-03-24 16:11:56 +01:00
Sébastien Chopin 6e2fb4642e Fix tests 2017-02-22 18:20:17 +00:00
Sébastien Chopin 6bc16c0118 Update tests 2017-02-10 00:45:49 +01:00
Sébastien Chopin 7552da1453 Add analyse option 2017-01-23 17:56:05 +01:00
Sébastien Chopin f8735dc450 Add test for extendRoutes 2017-01-19 16:26:30 +01:00
Sébastien Chopin 86fba7ae77 Add test for layout with dash 2016-12-25 21:10:14 +01:00
Sébastien Chopin eebc44dca4 Add tests for layouts 2016-12-24 18:50:40 +01:00
Sébastien Chopin c559740b2f test 100% 2016-12-21 20:51:43 +01:00
Sébastien Chopin 8102ce48eb Handle validate for nuxt generate 2016-12-21 15:03:23 +01:00