We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a821147 commit 25a74abCopy full SHA for 25a74ab
packages/theme-pink-cupcake/src/tests/components/Content/FormRegister.test.ts
@@ -81,6 +81,16 @@ const uikitNotification = {
81
timeout: 4000
82
}
83
84
+// Mock the config & translator store
85
+vi.mock('@userfrosting/sprinkle-core/stores', () => ({
86
+ useConfigStore: () => ({
87
+ get: vi.fn(() => 'Site Title')
88
+ }),
89
+ useTranslator: () => ({
90
+ translate: vi.fn(() => 'Welcome back John Doe!')
91
+ })
92
+}))
93
+
94
describe('FormRegister.vue', () => {
95
afterEach(() => {
96
vi.clearAllMocks()
0 commit comments