test: improve the describe name

This commit is contained in:
tzhangchi
2023-01-03 22:45:51 +08:00
parent f340a046c2
commit dba26f52f4
10 changed files with 13 additions and 11 deletions

View File

@@ -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 () => {});

View File

@@ -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 () => {});

View File

@@ -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 () => {});
});

View File

@@ -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 () => {});

View File

@@ -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 () => {});

View File

@@ -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();

View File

@@ -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 () => {});

View File

@@ -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 () => {});
});

View File

@@ -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 () => {});

View File

@@ -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();