lib/clapton/javascripts/src/components/text.spec.ts in clapton-0.0.17 vs lib/clapton/javascripts/src/components/text.spec.ts in clapton-0.0.18
- old
+ new
@@ -1,12 +1,12 @@
import { describe, it, expect } from "vitest"
import { Text } from "./text"
describe("Text", () => {
it("returns empty string if no params", () => {
- expect(new Text("").render).toBe("")
+ expect(new Text("").renderWrapper).toBe("")
})
it("returns value", () => {
- expect(new Text("bar").render).toBe("bar")
+ expect(new Text("bar").renderWrapper).toBe("bar")
})
})