Run Tests #4292
Annotations
10 errors
|
src/schema.test.ts > schema matches sub_body_part torso_neck:
src/schema.test.ts#L88
Error: [File: data/json/body_parts.json#L920-L930]
/side must be number, but was 'both'
❯ src/schema.test.ts:88:15
|
|
src/schema.test.ts > schema matches sub_body_part torso_upper:
src/schema.test.ts#L88
Error: [File: data/json/body_parts.json#L910-L919]
/side must be number, but was 'both'
❯ src/schema.test.ts:88:15
|
|
src/schema.test.ts > schema matches sub_body_part sub_limb_debug_muzzle:
src/schema.test.ts#L88
Error: [File: data/json/body_parts.json#L902-L909]
/side must be number, but was 'both'
❯ src/schema.test.ts:88:15
|
|
src/schema.test.ts > schema matches sub_body_part sub_limb_debug_tail:
src/schema.test.ts#L88
Error: [File: data/json/body_parts.json#L894-L901]
/side must be number, but was 'both'
❯ src/schema.test.ts:88:15
|
|
src/schema.test.ts > schema matches sub_body_part sub_limb_debug:
src/schema.test.ts#L88
Error: [File: data/json/body_parts.json#L886-L893]
/side must be number, but was 'both'
❯ src/schema.test.ts:88:15
|
|
src/all.3.test.ts > render overmap_special Ruined Tower Highlands:
src/data.ts#L87
TypeError: Cannot use 'in' operator to search for 'str_sp' in undefined
❯ getMsgId src/data.ts:87:38
❯ translate src/data.ts:106:14
❯ singular src/data.ts:114:3
❯ omtAppearance src/types/item/OvermapAppearance.svelte:89:23
❯ Array.makeAppearanceGrid src/types/item/OvermapAppearance.svelte:43:28
❯ create_fragment src/types/item/OvermapAppearance.svelte:96:28
❯ init node_modules/svelte/internal/index.mjs:2137:37
❯ new OvermapAppearance$ src/types/item/OvermapAppearance.svelte:368:33
❯ createProxiedComponent node_modules/svelte-hmr/runtime/svelte-hooks.js:341:9
❯ new ProxyComponent node_modules/svelte-hmr/runtime/proxy.js:242:29
|
|
src/all.3.test.ts > render item pat_earpiece_on:
src/data.ts#L358
Error: unknown object "h" of type "body_part"
❯ CddaData.byId src/data.ts:358:13
❯ instance$ src/types/item/ArmorInfo.svelte:69:21
❯ init node_modules/svelte/internal/index.mjs:2122:11
❯ new ArmorInfo$ src/types/item/ArmorInfo.svelte:2457:33
❯ createProxiedComponent node_modules/svelte-hmr/runtime/svelte-hooks.js:341:9
❯ new ProxyComponent node_modules/svelte-hmr/runtime/proxy.js:242:29
❯ new Proxy<ArmorInfo> node_modules/svelte-hmr/runtime/proxy.js:349:11
❯ Array.create_else_block$ src/types/Item.svelte:3639:15
❯ create_if_block$_24 src/types/Item.svelte:3593:99
❯ create_fragment src/types/Item.svelte:5998:34
|
|
src/all.2.test.ts > render item pat_earpiece:
src/data.ts#L358
Error: unknown object "h" of type "body_part"
❯ CddaData.byId src/data.ts:358:13
❯ instance$ src/types/item/ArmorInfo.svelte:69:21
❯ init node_modules/svelte/internal/index.mjs:2122:11
❯ new ArmorInfo$ src/types/item/ArmorInfo.svelte:2457:33
❯ createProxiedComponent node_modules/svelte-hmr/runtime/svelte-hooks.js:341:9
❯ new ProxyComponent node_modules/svelte-hmr/runtime/proxy.js:242:29
❯ new Proxy<ArmorInfo> node_modules/svelte-hmr/runtime/proxy.js:349:11
❯ Array.create_else_block$ src/types/Item.svelte:3639:15
❯ create_if_block$_24 src/types/Item.svelte:3593:99
❯ create_fragment src/types/Item.svelte:5998:34
|
|
src/all.2.test.ts > render item debug_weather_check:
src/testRender.ts#L93
AssertionError: expected '; debug weather reporter General Mate…' not to match /undefined|NaN|object Object/
- Expected:
/undefined|NaN|object Object/
+ Received:
"; debug weather reporter General MaterialPlastic Volume0.00 LWeight0.00 kgLength1 cmUsage[object Object] Reports current weather. Obtaining Raw JSON {
\"id\": \"debug_weather_check\",
\"type\": \"ITEM\",
\"subtypes\": [
\"TOOL\"
],
\"category\": \"tools\",
\"name\": {
\"str_sp\": \"debug weather reporter\",
\"//~\": \"NO_I18N\"
},
\"description\": {
\"str\": \"Reports current weather.\",
\"//~\": \"NO_I18N\"
},
\"weight\": \"1 g\",
\"volume\": \"1 ml\",
\"material\": [
\"plastic\"
],
\"symbol\": \";\",
\"color\": \"light_gray\",
\"use_action\": {
\"type\": \"effect_on_conditions\",
\"menu_text\": {
\"str\": \"Check weather\",
\"//~\": \"NO_I18N\"
},
\"effect_on_conditions\": [
{
\"id\": \"EOC_REPORT_WEATHER\",
\"effect\": [
{
\"math\": [
\"_moon_phase = moon_phase()\"
]
},
{
\"math\": [
\"_temperature = celsius(weather('temperature'))\"
]
},
{
\"math\": [
\"_humidity = weather('humidity')\"
]
},
{
\"math\": [
\"_pressure = weather('pressure')\"
]
},
{
\"math\": [
\"_windpower = weather('windpower')\"
]
},
{
\"math\": [
\"_precipitation = weather('precipitation')\"
]
},
{
\"message\": \"moon_phase: <context_val:moon_phase>\"
},
{
\"message\": \"temperature: <context_val:temperature> °C\"
},
{
\"message\": \"humidity: <context_val:humidity> %\"
},
{
\"message\": \"pressure: <context_val:pressure> mbar\"
},
{
\"message\": \"windpower: <context_val:windpower> mph\"
},
{
\"message\": \"precipitation: <context_val:precipitation> mm/h\"
}
]
}
]
}
} View
/
Edit on GitHub"
❯ src/testRender.ts:93:31
|
|
src/all.1.test.ts > render item debug_dimension_traveller:
src/testRender.ts#L93
AssertionError: expected '; debug dimension traveller General M…' not to match /undefined|NaN|object Object/
- Expected:
/undefined|NaN|object Object/
+ Received:
"; debug dimension traveller General MaterialPlastic Volume0.00 LWeight0.00 kgLength1 cmUsage[object Object] Allows you to pick a dimension to teleport to. Travellers are adviced to use Debug Phase Movement. To teleport back to main dimension, just leave both empty. Obtaining Raw JSON {
\"id\": \"debug_dimension_traveller\",
\"type\": \"ITEM\",
\"subtypes\": [
\"TOOL\"
],
\"category\": \"tools\",
\"name\": {
\"str_sp\": \"debug dimension traveller\",
\"//~\": \"NO_I18N\"
},
\"description\": {
\"str\": \"Allows you to pick a dimension to teleport to. Travellers are adviced to use Debug Phase Movement. To teleport back to main dimension, just leave both empty.\",
\"//~\": \"NO_I18N\"
},
\"weight\": \"1 g\",
\"volume\": \"1 ml\",
\"material\": [
\"plastic\"
],
\"symbol\": \";\",
\"color\": \"light_gray\",
\"use_action\": {
\"type\": \"effect_on_conditions\",
\"menu_text\": {
\"str\": \"Change dimension\",
\"//~\": \"NO_I18N\"
},
\"effect_on_conditions\": [
\"EOC_dimension_swap_test\"
]
}
} View
/
Edit on GitHub"
❯ src/testRender.ts:93:31
|