From 006ecbea9371b5d8a24df2e4cbf621bcea6f60b5 Mon Sep 17 00:00:00 2001 From: Arvyd Paeglit Date: Tue, 7 Sep 2021 17:05:01 +0000 Subject: [PATCH] fix: fixed test --- tests/files.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/files.spec.ts b/tests/files.spec.ts index cd6c7cde..0ccb1c2f 100644 --- a/tests/files.spec.ts +++ b/tests/files.spec.ts @@ -27,16 +27,16 @@ describe('files', () => { expect(patterns).toEqual(bundleFileIgnores.slice(1)); }); - it('should parse .snyk file', async () => { - const patterns = await parseDotSnykExcludes(`${sampleProjectPath}/${DOTSNYK_FILENAME}`); - expect(patterns).toEqual(bundlefileExcludes); - }); - it('collect ignore rules', async () => { const ignoreRules = await collectIgnoreRules([sampleProjectPath]); expect(ignoreRules).toEqual(bundleFileIgnores); }); + it('should parse .snyk file', async () => { + const patterns = await parseDotSnykExcludes(`${sampleProjectPath}/${DOTSNYK_FILENAME}`); + expect(patterns).toEqual(bundlefileExcludes); + }); + it('collect bundle files', async () => { // TODO: We should introduce some performance test using a big enough repo to avoid flaky results const collector = collectBundleFiles({