mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 21:07:46 +00:00
[tests] Update tests script names (#9433)
### Description These script names are currently really long and that makes it difficult to read. In particular, the most important part (the package name) is often truncated. See before/after below. ## Before <img width="302" alt="image" src="https://user-images.githubusercontent.com/229881/218588978-b8ed9a7a-f4da-4d58-af3f-2b1a7087737d.png"> ## After <img width="290" alt="image" src="https://user-images.githubusercontent.com/229881/218596895-65627ad0-2895-4bd7-8506-f5f545a419d3.png">
This commit is contained in:
@@ -238,7 +238,7 @@ async function runProbe(probe, deploymentId, deploymentUrl, ctx) {
|
||||
.join('\n');
|
||||
|
||||
throw new Error(
|
||||
`Page ${probeUrl} does not have header ${header}.\n\nExpected: ${expected}.\nActual: ${headers}`
|
||||
`Page ${probeUrl} does not have expected response header ${header}.\n\nExpected: ${expected}.\n\nActual: ${headers}`
|
||||
);
|
||||
}
|
||||
});
|
||||
@@ -254,7 +254,7 @@ async function runProbe(probe, deploymentId, deploymentUrl, ctx) {
|
||||
.join('\n');
|
||||
|
||||
throw new Error(
|
||||
`Page ${probeUrl} invalid page header ${header}.\n\n Did not expect: ${header}=${expected}.\nBut got ${headers}`
|
||||
`Page ${probeUrl} has unexpected response header ${header}.\n\nDid not expect: ${header}=${expected}.\n\nAll: ${headers}`
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user