Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump rimraf from 2.6.2 to 5.0.10 #358

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
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
6 changes: 3 additions & 3 deletions __tests__/integration.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

const fs = require('fs');
const path = require('path');
const rimraf = require('rimraf');
const { rimrafSync } = require('rimraf');
const uniqueId = require('lodash/uniqueId');
const sizeOf = require('image-size');
const { SnapshotState } = require('jest-snapshot');
Expand All @@ -37,11 +37,11 @@ describe('toMatchImageSnapshot', () => {
});

beforeEach(() => {
rimraf.sync(`**/${cleanupRequiredIndicator}*`);
rimrafSync(`**/${cleanupRequiredIndicator}*`, { glob: true });
});

afterAll(() => {
rimraf.sync(`**/${cleanupRequiredIndicator}*`);
rimrafSync(`**/${cleanupRequiredIndicator}*`, { glob: true });
});

describe('happy path', () => {
Expand Down
4 changes: 2 additions & 2 deletions __tests__/outdated-snapshot-reporter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const fs = require('fs');
const os = require('os');
const childProcess = require('child_process');
const path = require('path');
const rimraf = require('rimraf');
const { rimrafSync } = require('rimraf');

describe('OutdatedSnapshotReporter', () => {
const jestImageSnapshotDir = path.join(__dirname, '..');
Expand Down Expand Up @@ -79,7 +79,7 @@ describe('OutdatedSnapshotReporter', () => {
});

afterAll(() => {
rimraf.sync(tmpDir);
rimrafSync(tmpDir);
});

it('should write the image snapshot on first run', () => {
Expand Down
Loading