This is an automated email from the ASF dual-hosted git repository.
hufeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git
The following commit(s) were added to refs/heads/master by this push:
new 19bab4b fixed: test suite and github actions
19bab4b is described below
commit 19bab4be0efaec9b9943dc66b6e9c45e402ed078
Author: hufeng <[email protected]>
AuthorDate: Mon Aug 9 18:15:42 2021 +0800
fixed: test suite and github actions
---
packages/dubbo-service/src/__tests__/port-test.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/dubbo-service/src/__tests__/port-test.ts
b/packages/dubbo-service/src/__tests__/port-test.ts
index 09f6a12..5037112 100644
--- a/packages/dubbo-service/src/__tests__/port-test.ts
+++ b/packages/dubbo-service/src/__tests__/port-test.ts
@@ -28,7 +28,7 @@ describe('port test suite', () => {
expect(
fs.existsSync(path.join(process.cwd(), '.dubbojs/dubbo'))
).toBeTruthy()
- fs.rmSync(path.join(process.cwd(), '.dubbojs', `${port}`))
+ fs.writeFileSync(path.join(process.cwd(), '.dubbojs', `${port}`), '')
})
it('test cluster mode', async () => {})