Skip to content

Reimplement presets processing #2398

Reimplement presets processing

Reimplement presets processing #2398

Triggered via pull request December 5, 2024 03:40
@3y33y3
synchronize #931
ext-5
Status Failure
Total duration 1m 30s
Artifacts

tests.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 6 warnings
src/commands/build/features/templating/index.spec.ts > Build template feature > run > should save presets.yaml for md build with disabled templating: src/commands/build/features/templating/index.spec.ts#L253
AssertionError: expected "spy" to be called with arguments: [ …(2) ] Received: 1st spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 2nd spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 3rd spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 4th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 5th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 6th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 7th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 8th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 9th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 10th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 11th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 12th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 13th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 14th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 15th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 16th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] 17th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value ", ] Number of calls: 17 ❯ src/commands/build/features/templating/index.spec.ts:253:37
src/commands/build/features/templating/index.spec.ts > Build template feature > run > should filter presets.yaml for md build with disabled templating: src/commands/build/features/templating/index.spec.ts#L278
AssertionError: expected "spy" to be called with arguments: [ …(2) ] Received: 1st spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 2nd spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 3rd spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 4th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 5th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 6th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 7th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 8th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 9th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 10th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 11th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 12th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 13th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 14th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 15th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 16th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 17th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] 18th spy call: Array [ - "\\dev\\null\\output\\.tmp_output\\presets.yaml", + "D:\\dev\\null\\output\\.tmp_output\\presets.yaml", "default: field: value internal: field: value ", ] Number of calls: 18 ❯ src/commands/build/features/templating/index.spec.ts:278:37
Node v18.x on windows-latest
Process completed with exit code 1.
Node v18.x on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node v18.x on ubuntu-latest
Unexpected input(s) 'os', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
Node v18.x on ubuntu-latest
Unexpected input(s) 'os', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
Node v18.x on macos-latest
Unexpected input(s) 'os', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
Node v18.x on macos-latest
Unexpected input(s) 'os', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
Node v18.x on windows-latest
Unexpected input(s) 'os', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']