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 58dcd9d commit 244789cCopy full SHA for 244789c
1 file changed
resources/js/tests/components/fieldtypes/DateFieldtype.test.js
@@ -1,8 +1,8 @@
1
import { mount } from '@vue/test-utils';
2
import { test, expect } from 'vitest';
3
import DateFieldtype from '@/components/fieldtypes/DateFieldtype.vue';
4
-import { createPinia } from 'pinia';
5
import DateFormatter from '@statamic/components/DateFormatter.js';
+import { containerContextKey } from '@statamic/components/ui/Publish/Container.vue';
6
7
window.__ = (key) => key;
8
@@ -27,10 +27,9 @@ const makeDateField = (props = {}) => {
27
},
28
...props,
29
30
- plugins: [createPinia()],
31
global: {
32
provide: {
33
- store: '',
+ [containerContextKey]: {}
34
35
mocks: {
36
$config: {
0 commit comments