Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

test: improve the describe name

tzhangchidba26f52f499
diff --git a/packages/data-center/tests/attachment.spec.ts b/packages/data-center/tests/attachment.spec.ts
index 61343d9685..8a40c645c9 100644
--- a/packages/data-center/tests/attachment.spec.ts
+++ b/packages/data-center/tests/attachment.spec.ts
@@ -4,7 +4,7 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
-test.describe('attachment', () => {
+test.describe('Attachment', () => {
test('upload blob', async () => {});
test('get blob', async () => {});
diff --git a/packages/data-center/tests/auth.spec.ts b/packages/data-center/tests/auth.spec.ts
index fd7e56d78c..63b35c0343 100644
--- a/packages/data-center/tests/auth.spec.ts
+++ b/packages/data-center/tests/auth.spec.ts
@@ -4,7 +4,7 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
-test.describe('auth', () => {
+test.describe('Auth', () => {
test('signin', async () => {});
test('signout', async () => {});
diff --git a/packages/data-center/tests/cloud-sync.spec.ts b/packages/data-center/tests/cloud-sync.spec.ts
index 298c9a4160..5e427b9890 100644
--- a/packages/data-center/tests/cloud-sync.spec.ts
+++ b/packages/data-center/tests/cloud-sync.spec.ts
@@ -4,7 +4,7 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
-test.describe('cloud-sync', () => {
+test.describe('Cloud Sync', () => {
test('get cloud the sync flag of workspace ', async () => {});
test('enable [cloud sync feature]', async () => {});
@@ -18,4 +18,6 @@ test.describe('cloud-sync', () => {
test('cloud sync is completed', async () => {});
test('cloud sync is error', async () => {});
+
+ test('cloud storage is right', async () => {});
});
diff --git a/packages/data-center/tests/collaborate.spec.ts b/packages/data-center/tests/collaborate.spec.ts
index f28bd9e841..72cd5bdb23 100644
--- a/packages/data-center/tests/collaborate.spec.ts
+++ b/packages/data-center/tests/collaborate.spec.ts
@@ -4,7 +4,7 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
-test.describe('collaborate', () => {
+test.describe('Collaborate', () => {
test('collaborate editor content', async () => {});
test('collaborate workspace name', async () => {});
diff --git a/packages/data-center/tests/import-export.spec.ts b/packages/data-center/tests/import-export.spec.ts
index 416150ffbc..20563e3afb 100644
--- a/packages/data-center/tests/import-export.spec.ts
+++ b/packages/data-center/tests/import-export.spec.ts
@@ -4,7 +4,7 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
-test.describe('import export', () => {
+test.describe('Import Export Workspace', () => {
test('import workspace', async () => {});
test('export workspace', async () => {});
diff --git a/packages/data-center/tests/init.spec.ts b/packages/data-center/tests/init.spec.ts
index 30ee1cd0f8..719574fd3b 100644
--- a/packages/data-center/tests/init.spec.ts
+++ b/packages/data-center/tests/init.spec.ts
@@ -4,7 +4,7 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
-test.describe('init data center', () => {
+test.describe('Init Data Center', () => {
test('init', async () => {
const dataCenter = await getDataCenter();
expect(dataCenter).toBeTruthy();
diff --git a/packages/data-center/tests/ permission.spec.ts b/packages/data-center/tests/permission.spec.ts
similarity index 92%
rename from packages/data-center/tests/ permission.spec.ts
rename to packages/data-center/tests/permission.spec.ts
index 82cd054483..dc43e9a920 100644
--- a/packages/data-center/tests/ permission.spec.ts
+++ b/packages/data-center/tests/permission.spec.ts
@@ -4,7 +4,7 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
-test.describe('share', () => {
+test.describe('Permission', () => {
test('get the public of workspace', async () => {});
test('make workspace public', async () => {});
diff --git a/packages/data-center/tests/search.spec.ts b/packages/data-center/tests/search.spec.ts
index 5973fb880c..b3da112c60 100644
--- a/packages/data-center/tests/search.spec.ts
+++ b/packages/data-center/tests/search.spec.ts
@@ -4,6 +4,6 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
-test.describe('search', () => {
- test('search service', async () => {});
+test.describe('Search', () => {
+ test('search result', async () => {});
});
diff --git a/packages/data-center/tests/share.spec.ts b/packages/data-center/tests/share.spec.ts
index 61856b6ab6..d4d6de1001 100644
--- a/packages/data-center/tests/share.spec.ts
+++ b/packages/data-center/tests/share.spec.ts
@@ -4,7 +4,7 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
-test.describe('share', () => {
+test.describe('Share', () => {
test('add(invite) member by email', async () => {});
test('accept invite member link', async () => {});
diff --git a/packages/data-center/tests/workspace.spec.ts b/packages/data-center/tests/workspace.spec.ts
index 3278fe10e4..909152c78d 100644
--- a/packages/data-center/tests/workspace.spec.ts
+++ b/packages/data-center/tests/workspace.spec.ts
@@ -4,7 +4,7 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
-test.describe('workspace', () => {
+test.describe('Workspace', () => {
test('list workspaces', async () => {
const dataCenter = await getDataCenter();
await dataCenter.clear();