cli-node: removed unused mock-fs from Lockfile test

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-09-19 13:33:23 +02:00
parent 3f4cd47cbc
commit fdab020964
@@ -14,7 +14,6 @@
* limitations under the License.
*/
import mockFs from 'mock-fs';
import { Lockfile } from './Lockfile';
const LEGACY_HEADER = `# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
@@ -31,10 +30,6 @@ __metadata:
`;
describe('New Lockfile', () => {
afterEach(() => {
mockFs.restore();
});
describe('diff', () => {
const lockfileLegacyA = Lockfile.parse(`${LEGACY_HEADER}
a@^1: