Skip to content

Commit

Permalink
chore: fix tests after merge commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Jun 7, 2023
1 parent 40f5226 commit 63180d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -11,7 +11,7 @@ export async function getProjectsWithUnpublishedPackages(
projectNodes: ProjectGraphProjectNodeWithPackage[],
opts: Partial<FetchConfig>
): Promise<ProjectGraphProjectNodeWithPackage[]> {
log.silly("getUnpublishedPackages", "");
log.silly("getProjectsWithUnpublishedPackages", "");

const mapper = (node: ProjectGraphProjectNodeWithPackage) => {
const pkg = getPackage(node);
Expand Down
2 changes: 1 addition & 1 deletion libs/commands/publish/src/lib/publish-from-package.spec.ts
Expand Up @@ -111,7 +111,7 @@ describe("publish from-package", () => {
it("logs the name of the package that fails to be published", async () => {
const cwd = await initFixture("independent");

getUnpublishedPackages.mockImplementationOnce((packageGraph) => Array.from(packageGraph.values()));
getProjectsWithUnpublishedPackages.mockImplementationOnce((nodes) => Promise.resolve(nodes));

npmPublish.mockImplementation(async (pkg) => {
if (pkg.name === "package-2") {
Expand Down

0 comments on commit 63180d0

Please sign in to comment.