From 07b9e489d49d72be38ff12502adb40e18b23a992 Mon Sep 17 00:00:00 2001 From: jjangga0214 Date: Fri, 3 Nov 2023 00:43:05 +0900 Subject: [PATCH] test(js): fix changedFiles --- packages/docs/pages/getting-started.mdx | 2 +- packages/git/test/index.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/pages/getting-started.mdx b/packages/docs/pages/getting-started.mdx index ce2a0bb..2b29116 100644 --- a/packages/docs/pages/getting-started.mdx +++ b/packages/docs/pages/getting-started.mdx @@ -942,7 +942,7 @@ Add these into the config file like this. '.dependOn': './apis/haetae-javascript#dependon', '.hash': './apis/haetae-utils#hash', }}> -```js filename="haetae.config.js" {9-13,31-33} +```js filename="haetae.config.js" {7,9-13,31-33} import { $, configure, git, utils, js } from 'haetae' export default configure({ diff --git a/packages/git/test/index.test.ts b/packages/git/test/index.test.ts index a49194d..d0e9661 100644 --- a/packages/git/test/index.test.ts +++ b/packages/git/test/index.test.ts @@ -97,7 +97,7 @@ describe('changedFiles', () => { reserveRecordData: false, }) expect(Array.isArray(files)).toBe(true) - expect(files).toHaveLength(7) + expect(files).toHaveLength(5) }) test('check parent directory of the repo', async () => { await expect(