chore: update eslint config, update tests, constants
This commit is contained in:
@@ -24,11 +24,13 @@ describe("Badge.svelte", () => {
|
||||
});
|
||||
|
||||
it("should render with empty string", () => {
|
||||
render(Badge, {
|
||||
const { container } = render(Badge, {
|
||||
props: {
|
||||
text: "",
|
||||
},
|
||||
});
|
||||
|
||||
expect(container.textContent?.trim()).toBe("");
|
||||
});
|
||||
|
||||
it("should render with zero", () => {
|
||||
|
||||
Reference in New Issue
Block a user