From a9fdd759ebf7751689485ac33ac9d3523cf1619d Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 27 Jul 2026 15:00:05 +0300 Subject: [PATCH] testing... Signed-off-by: Alex A. Naanou --- v3/pwiki/parser.js | 5 +++-- v3/pwiki/test/parser.js | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/v3/pwiki/parser.js b/v3/pwiki/parser.js index 45a5349..f38ffc2 100644 --- a/v3/pwiki/parser.js +++ b/v3/pwiki/parser.js @@ -837,11 +837,11 @@ module.BaseParser = { .push(elem.resolving instanceof Promise ? elem.resolving : elem) - //*/ // NOTE: we do not need to expand .body attributes as these // are the responsibility of the respective macros... elems.push(elem) } + // global .wait... if(unresolved.length > 0){ var resolving = state.wait = @@ -1032,7 +1032,8 @@ module.parser = { return Promise.awaitOrRun( state.waitNested, function(){ - console.log(' --', ...Object.keys(args), body ?? '') }) }, + console.log(' --', ...Object.keys(args), body ?? '') + return Object.keys(args) }) }, //*/ // Filter... diff --git a/v3/pwiki/test/parser.js b/v3/pwiki/test/parser.js index 01caa00..aea9f60 100755 --- a/v3/pwiki/test/parser.js +++ b/v3/pwiki/test/parser.js @@ -449,6 +449,13 @@ test.Setups({ 'local @include(/async/page)', 'LOCAL Page' ]} }, + + sequencing: function(assert){ + return { + page: P, + code: [ + 'A @include(/async/page) B @include(/page) C', + 'A Page B Page C' ]} }, })