Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes tests
  • Loading branch information
arcanis committed Oct 15, 2021
commit 23a87a5e8d421d70641cdba9f98eafc860efb0c8
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`Features Merge Conflict Resolution it should properly fix merge conflic
# Manual changes might be lost - proceed with caution!

__metadata:
version: 4
version: 5
cacheKey: 0

\\"no-deps@npm:*\\":
Expand Down Expand Up @@ -54,7 +54,7 @@ exports[`Features Merge Conflict Resolution it should properly fix merge conflic
# Manual changes might be lost - proceed with caution!

__metadata:
version: 4
version: 5
cacheKey: 0

<<<<<<< HEAD
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ describe(`Node_Modules`, () => {
const stdout = (await run(`install`)).stdout;

expect(stdout).not.toContain(`Shall not be run`);
expect(stdout).toMatch(new RegExp(`dep@file:./dep.*The platform ${process.platform} is incompatible with this module, link skipped.`));
expect(stdout).toMatch(new RegExp(`dep@file:./dep.*The ${process.platform}-${process.arch} architecture is incompatible with this module, link skipped.`));

await expect(source(`require('dep')`)).rejects.toMatchObject({
externalException: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1652,7 +1652,7 @@ describe(`Plug'n'Play`, () => {
const stdout = (await run(`install`)).stdout;

expect(stdout).not.toContain(`Shall not be run`);
expect(stdout).toMatch(new RegExp(`dep@file:./dep.*The platform ${process.platform} is incompatible with this module, build skipped.`));
expect(stdout).toMatch(new RegExp(`dep@file:./dep.*The ${process.platform}-${process.arch} architecture is incompatible with this module, build skipped.`));

await expect(source(`require('dep')`)).resolves.toMatchObject({
name: `dep`,
Expand Down