mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
feat(core): add actions to editor settings (#8030)
# What Changed? - Add actions of following edgeless-elements editor settings: - note - connector - edgeless text - pen
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
import { expect, test } from 'vitest';
|
||||
|
||||
import { unflattenObject } from '../unflatten-object';
|
||||
|
||||
test('unflattenObject', () => {
|
||||
const ob = {
|
||||
'a.b.c': 1,
|
||||
d: 2,
|
||||
};
|
||||
const result = unflattenObject(ob);
|
||||
expect(result).toEqual({
|
||||
a: {
|
||||
b: {
|
||||
c: 1,
|
||||
},
|
||||
},
|
||||
d: 2,
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user