Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip-Carneiro-KX committed Jan 23, 2024
1 parent c53dde8 commit bd69b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/suite/panels.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ describe("WebPanels", () => {
stub.restore();
});

it("returns no results", () => {
it("returns string results", () => {
const input = "Test";
const expectedOutput = `<p>Test</p>`;
const expectedOutput = `<p class="results-txt">Test</p>`;
const actualOutput = resultsPanel["_getWebviewContent"](input);
assert.strictEqual(typeof actualOutput, "string");
assert.ok(actualOutput.includes(expectedOutput));
Expand Down

0 comments on commit bd69b5d

Please sign in to comment.