Skip to content

Commit

Permalink
moved: file
Browse files Browse the repository at this point in the history
  • Loading branch information
binjospookie committed Dec 28, 2023
1 parent b6fe67d commit 7f54f2f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions bin/__tests__/__snapshots__/collectUsages.test.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`--collect-usages in package-a 1`] = `
"[
"T",
"Value"
]
"
`;

exports[`--collect-usages in package-a 2`] = `
"✔ Collecting usages of package-a
"
`;

exports[`--collect-usages in package-b 1`] = `
"[
"Component"
]
"
`;

exports[`--collect-usages in package-b 2`] = `
"✔ Collecting usages of package-b
"
`;

exports[`--collect-usages in package-c 1`] = `
"
Failed Nothing is used from package-c. Remove it.
"
`;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { join } from 'node:path'
import { expect, test } from 'vitest'

import { exec } from './exec.js'
import { exec } from './monorepo/exec.js'

test.each([['package-a'], ['package-b'], ['package-c']])(
'--collect-usages in %s',
Expand Down

0 comments on commit 7f54f2f

Please sign in to comment.