feat: add code-flow base load

This commit is contained in:
2024-06-25 23:56:12 +08:00
parent 5118891c41
commit 776c1287b8
10 changed files with 261 additions and 132 deletions

View File

@@ -15,6 +15,16 @@ describe('RouterCodeModel', () => {
console.error('connect error', error);
}
});
// yarn test --testNamePattern='RouterCodeModel:sync'
test('RouterCodeModel:sync', async () => {
try {
RouterCodeModel.sync({ alter: true });
console.log('connect success');
await sleep(2000);
} catch (error) {
console.error('connect error', error);
}
});
// yarn test --testNamePattern='RouterCodeModel:create'
test('RouterCodeModel:create', async () => {
try {