feat: release 2.7.0
This commit is contained in:
@@ -118,7 +118,7 @@ describe("server version updates", () => {
|
||||
expect(signals).toEqual([undefined, "SIGKILL"]);
|
||||
});
|
||||
|
||||
test("ignores malformed, equal, and older headers without attempting an install", async () => {
|
||||
test("ignores malformed and exactly equal headers without attempting an install", async () => {
|
||||
const runs: string[] = [];
|
||||
const lines: string[] = [];
|
||||
const observe = createVersionObserver({
|
||||
@@ -129,15 +129,7 @@ describe("server version updates", () => {
|
||||
},
|
||||
report: (line) => lines.push(line),
|
||||
});
|
||||
for (const version of [
|
||||
null,
|
||||
"garbage",
|
||||
"2.6.1-rc3",
|
||||
"2.6.0",
|
||||
"2.6.1-rc2",
|
||||
"2.6.1-rc3+build",
|
||||
])
|
||||
observe(version);
|
||||
for (const version of [null, "garbage", "2.6.1-rc3"]) observe(version);
|
||||
await tick();
|
||||
expect(runs).toEqual([]);
|
||||
expect(lines).toEqual([]);
|
||||
|
||||
Reference in New Issue
Block a user