mirror of
https://github.com/morluto/rea.git
synced 2026-11-19 13:12:26 +00:00
test: name tests after the behavior they check, not a removed limit (#11618)
* test: name tests after the behavior they check, not a removed limit Thirty-one test titles still said "beyond/above/after the former ..." for limits that no longer exist. They now state what the test checks (the size, count or depth it exercises, or the bound that still applies, such as max_snapshot_bytes for the managed manifest snapshot). Test bodies are unchanged. Refs #10515 * test: say "more than" where a title counts only part of its fixture
This commit is contained in:
1 parent
34ec903786
commit
d6af08e4be
26 files changed
+31
-31
No files matched your search
@@ -1467,7 +1467,7 @@ describe("contextual JavaScript artifact path resolution", () => {
|
||||
).toMatchObject({ resolution_status: "not-found", resolved_path: null });
|
||||
});
|
||||
|
||||
it("resolves inventoried paths longer than the former character ceiling", () => {
|
||||
it("resolves an inventoried path of more than 5,000 characters", () => {
|
||||
const declaredPath = `./${"a".repeat(5_000)}.js`;
|
||||
const expectedPath = `app/${declaredPath.slice(2)}`;
|
||||
const files = fileMap([
|
||||
@@ -1588,7 +1588,7 @@ describe("JavaScript file URL resolution", () => {
|
||||
});
|
||||
|
||||
describe("contextual JavaScript package path resolution", () => {
|
||||
it("follows package entrypoints beyond the former recursion ceiling", () => {
|
||||
it("follows a long chain of package entrypoints", () => {
|
||||
const files = fileMap([
|
||||
file("app/consumer.js", "root"),
|
||||
file(
|
||||
|
||||
Reference in new issue
Block a user