mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Add fields store (#144)
* Add fields store * Add test coverage for fields store * Remove hydration tests It doesn't do anything itself, but just calls init / reset methods of stores * Rename store methods to hydrate / dehydrate * DRY that sucker * Move hydration logic into a store * Fix tests for new store * Rename hydrate store to app store, fix tests in auth * Fix tests of router * Fix tests in module-bar-logo * bunch of things * Fix tests in hydrate * Fix router tests * Clean up auth tests * Update tests for collections / fields stores * Use stores instead of mocks in tests * Add test for store getter in collections
This commit is contained in:
@@ -8,10 +8,6 @@ describe('Stores / Projects', () => {
|
||||
Vue.use(VueCompositionAPI);
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
jest.clearAllMocks();
|
||||
});
|
||||
|
||||
describe('Getters / currentProject', () => {
|
||||
const dummyProject = {
|
||||
key: 'my-project',
|
||||
|
||||
Reference in New Issue
Block a user