twenty / packages /twenty-shared /src /metadata /__tests__ /standardObjectUniversalIdentifiers.test.ts
Jules
Initial clean CRM deployment with prebuilt assets
d9494a5
Raw
History Blame Contribute Delete
460 Bytes
import { STANDARD_OBJECTS } from '@/metadata/constants/standard-object.constant';
// If this test fails, a universal identifier changed: make sure the
// change is intentional and ships with a coordinated backfill of existing
// workspaces before updating the snapshot.
describe('STANDARD_OBJECTS universal identifiers', () => {
it('should never change without an explicit snapshot update', () => {
expect(STANDARD_OBJECTS).toMatchSnapshot();
});
});