2019-02-04 10:34:04 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`builder: buildContext should construct context 1`] = `
|
|
|
|
TemplateContext {
|
2023-04-25 21:17:00 +00:00
|
|
|
"templateFiles": [
|
2019-02-04 10:34:04 +00:00
|
|
|
"template.js",
|
|
|
|
],
|
2023-04-25 21:17:00 +00:00
|
|
|
"templateVars": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"appPath": "./App.js",
|
2019-05-29 14:44:15 +00:00
|
|
|
"buildIndicator": undefined,
|
2023-04-25 21:17:00 +00:00
|
|
|
"components": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"ErrorPage": "relativeBuild(test_error_page)",
|
|
|
|
},
|
2023-04-25 21:17:00 +00:00
|
|
|
"css": [
|
2019-02-04 10:34:04 +00:00
|
|
|
"test.css",
|
|
|
|
],
|
|
|
|
"debug": "test_debug",
|
2023-04-25 21:17:00 +00:00
|
|
|
"dir": [
|
2019-02-04 10:34:04 +00:00
|
|
|
"test_dir",
|
|
|
|
],
|
|
|
|
"env": "test_env",
|
|
|
|
"extensions": "test|ext",
|
2023-04-25 21:17:00 +00:00
|
|
|
"features": {
|
2019-09-05 15:15:27 +00:00
|
|
|
"store": true,
|
|
|
|
},
|
2019-02-14 15:56:58 +00:00
|
|
|
"fetch": undefined,
|
2019-02-04 10:34:04 +00:00
|
|
|
"globalName": "test_global",
|
2023-04-25 21:17:00 +00:00
|
|
|
"globals": [
|
2019-02-04 10:34:04 +00:00
|
|
|
"globals",
|
|
|
|
],
|
|
|
|
"head": "test_head",
|
|
|
|
"isDev": "test_dev",
|
2020-05-07 19:08:01 +00:00
|
|
|
"isFullStatic": false,
|
2019-02-04 10:34:04 +00:00
|
|
|
"isTest": "test_test",
|
2023-04-25 21:17:00 +00:00
|
|
|
"layoutTransition": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"name": "test_layout_trans",
|
|
|
|
},
|
2023-04-25 21:17:00 +00:00
|
|
|
"layouts": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"test-layout": "test.template",
|
|
|
|
},
|
|
|
|
"loading": "relativeBuild(test_src_dir, test-loading)",
|
2023-04-25 21:17:00 +00:00
|
|
|
"messages": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"test": "test message",
|
|
|
|
},
|
|
|
|
"mode": "test mode",
|
2023-04-25 21:17:00 +00:00
|
|
|
"nuxtOptions": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"ErrorPage": "test_error_page",
|
2023-04-25 21:17:00 +00:00
|
|
|
"build": {
|
|
|
|
"splitChunks": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"testSC": true,
|
|
|
|
},
|
|
|
|
},
|
2023-04-25 21:17:00 +00:00
|
|
|
"css": [
|
2019-02-04 10:34:04 +00:00
|
|
|
"test.css",
|
|
|
|
],
|
|
|
|
"debug": "test_debug",
|
|
|
|
"dev": "test_dev",
|
2023-04-25 21:17:00 +00:00
|
|
|
"dir": [
|
2019-02-04 10:34:04 +00:00
|
|
|
"test_dir",
|
|
|
|
],
|
|
|
|
"env": "test_env",
|
2023-04-25 21:17:00 +00:00
|
|
|
"extensions": [
|
2019-02-04 10:34:04 +00:00
|
|
|
"test",
|
|
|
|
"ext",
|
|
|
|
],
|
2023-04-25 21:17:00 +00:00
|
|
|
"features": {
|
2019-09-05 15:15:27 +00:00
|
|
|
"store": true,
|
|
|
|
},
|
2019-02-04 10:34:04 +00:00
|
|
|
"globalName": "test_global",
|
|
|
|
"head": "test_head",
|
2023-04-25 21:17:00 +00:00
|
|
|
"layoutTransition": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"name": "test_layout_trans",
|
|
|
|
},
|
2023-04-25 21:17:00 +00:00
|
|
|
"layouts": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"test-layout": "test.template",
|
|
|
|
},
|
|
|
|
"loading": "test-loading",
|
2023-04-25 21:17:00 +00:00
|
|
|
"messages": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"test": "test message",
|
|
|
|
},
|
|
|
|
"mode": "test mode",
|
2023-04-25 21:17:00 +00:00
|
|
|
"pageTransition": {
|
2019-04-20 10:01:59 +00:00
|
|
|
"name": "test_trans",
|
|
|
|
},
|
2019-05-06 10:46:04 +00:00
|
|
|
"rootDir": "test_root_dir",
|
2023-04-25 21:17:00 +00:00
|
|
|
"router": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"route": "test",
|
|
|
|
},
|
|
|
|
"srcDir": "test_src_dir",
|
|
|
|
"store": "test_store",
|
|
|
|
"test": "test_test",
|
2023-04-25 21:17:00 +00:00
|
|
|
"vue": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"config": "test_config",
|
|
|
|
},
|
|
|
|
},
|
2023-04-25 21:17:00 +00:00
|
|
|
"pageTransition": {
|
2019-04-20 10:01:59 +00:00
|
|
|
"name": "test_trans",
|
|
|
|
},
|
2023-04-25 21:17:00 +00:00
|
|
|
"plugins": [
|
2019-02-04 10:34:04 +00:00
|
|
|
"plugins",
|
|
|
|
],
|
2019-05-06 10:46:04 +00:00
|
|
|
"rootDir": "test_root_dir",
|
2023-04-25 21:17:00 +00:00
|
|
|
"router": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"route": "test",
|
|
|
|
},
|
2023-04-25 21:17:00 +00:00
|
|
|
"splitChunks": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"testSC": true,
|
|
|
|
},
|
2019-05-06 10:46:04 +00:00
|
|
|
"srcDir": "test_src_dir",
|
2019-02-04 10:34:04 +00:00
|
|
|
"store": "test_store",
|
|
|
|
"uniqBy": [Function],
|
2023-04-25 21:17:00 +00:00
|
|
|
"vue": {
|
2019-02-04 10:34:04 +00:00
|
|
|
"config": "test_config",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
`;
|