Reimplement presets processing #2397
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#L252
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:252: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#L277
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:277:37
|
Node v18.x on windows-latest
Process completed with exit code 1.
|
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 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 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']
|