Skip to content

Commit

Permalink
fix(allure-jasmine): remove unnecessary assertions from hook tests
Browse files Browse the repository at this point in the history
  • Loading branch information
delatrie committed Jul 16, 2024
1 parent 0dbc952 commit 113bfee
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions packages/allure-jasmine/test/spec/hooks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,6 @@ describe("hook failures", () => {
expect.objectContaining({
name: "bar",
status: Status.BROKEN,
statusDetails: expect.objectContaining({
message: expect.stringContaining("Not run because a beforeAll function failed"),
trace: expect.anything(),
}),
}),
]);
expect(groups, "has broken fixture").toEqual([
Expand Down Expand Up @@ -458,10 +454,6 @@ describe("hook failures", () => {
expect.objectContaining({
name: "bar",
status: Status.BROKEN,
statusDetails: expect.objectContaining({
message: expect.stringContaining("Not run because a beforeAll function failed"),
trace: expect.anything(),
}),
}),
]);
expect(groups, "has broken fixture").toEqual([
Expand Down Expand Up @@ -497,10 +489,6 @@ describe("hook failures", () => {
expect.objectContaining({
name: "bar",
status: Status.BROKEN,
statusDetails: expect.objectContaining({
message: expect.stringContaining("Not run because a beforeAll function failed"),
trace: expect.anything(),
}),
}),
]);
expect(groups, "has broken fixture").toEqual([
Expand Down Expand Up @@ -535,10 +523,6 @@ describe("hook failures", () => {
expect.objectContaining({
name: "bar",
status: Status.BROKEN,
statusDetails: expect.objectContaining({
message: expect.stringContaining("Not run because a beforeAll function failed"),
trace: expect.anything(),
}),
}),
]);
expect(groups, "has broken fixture").toEqual([
Expand Down Expand Up @@ -573,10 +557,6 @@ describe("hook failures", () => {
expect.objectContaining({
name: "bar",
status: Status.BROKEN,
statusDetails: {
message: expect.stringContaining("Not run because a beforeAll function failed"),
trace: expect.anything(),
},
}),
]);
expect(groups, "has broken fixture").toEqual([
Expand Down Expand Up @@ -610,10 +590,6 @@ describe("hook failures", () => {
expect.objectContaining({
name: "bar",
status: Status.BROKEN,
statusDetails: {
message: expect.stringContaining("Not run because a beforeAll function failed"),
trace: expect.anything(),
},
}),
]);
expect(groups, "has broken fixture").toEqual([
Expand Down Expand Up @@ -647,10 +623,6 @@ describe("hook failures", () => {
expect.objectContaining({
name: "bar",
status: Status.BROKEN,
statusDetails: {
message: expect.stringContaining("Not run because a beforeAll function failed"),
trace: expect.anything(),
},
}),
]);
expect(groups, "has broken fixture").toEqual([
Expand Down Expand Up @@ -685,10 +657,6 @@ describe("hook failures", () => {
expect.objectContaining({
name: "bar",
status: Status.BROKEN,
statusDetails: {
message: expect.stringContaining("Not run because a beforeAll function failed"),
trace: expect.anything(),
},
}),
]);
expect(groups, "has broken fixture").toEqual([
Expand Down

0 comments on commit 113bfee

Please sign in to comment.