From 81407b65d178ee86c172f36b0b4c596fe343a758 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Fri, 26 Feb 2021 15:27:34 +0800 Subject: [PATCH] refactor: dir with md5 --- packages/core/certd/test/index.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/certd/test/index.test.js b/packages/core/certd/test/index.test.js index b4519ad5..ca5b4bce 100644 --- a/packages/core/certd/test/index.test.js +++ b/packages/core/certd/test/index.test.js @@ -68,7 +68,7 @@ describe('Certd', function () { const certd = new Certd(options) const currentRootPath = certd.certStore.currentMarkPath console.log('rootDir', currentRootPath) - expect(currentRootPath).match(/xiaojunnuo@qq.com\\certs\\_.docmirror.club\w*\\current.json/) + expect(currentRootPath).match(/xiaojunnuo@qq.com\\certs\\_.docmirror.club-\w*\\current.json/) }) it('#writeAndReadCert', async function () { const options = createOptions()