Skip to content

Commit

Permalink
update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Nov 29, 2023
1 parent db01eb8 commit b0e8783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/sys/tests/in-memory-fs.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createTestingSystem } from '../../../testing/testing-sys';
import { normalizePath } from '../../../utils';
import type { FsItem, FsItems } from '../in-memory-fs';
import { createInMemoryFs, getCommitInstructions, InMemoryFileSystem, shouldIgnore } from '../in-memory-fs';
import { FsItem, FsItems } from '../in-memory-fs';

describe(`in-memory-fs, getCommitInstructions`, () => {
let items: FsItems;
Expand Down Expand Up @@ -583,7 +583,7 @@ describe(`in-memory-fs`, () => {
expect(sys.diskReads).toBe(1);

let i = await fs.commit();
expect(sys.diskWrites).toBe(3);
expect(sys.diskWrites).toBe(4);
expect(i.filesWritten).toHaveLength(1);
expect(i.filesWritten[0]).toBe(`/dir/file2.js`);

Expand Down

0 comments on commit b0e8783

Please sign in to comment.