Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Mar 5, 2024
1 parent 97c0917 commit 76b7696
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/tests/error-messages.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ const expectSyncError = (fn: (...args) => unknown, p: string, ...args) => {
};

describe('Error tests', () => {

it('should handle async operations with error', async () => {

const fn = path.join(fixturesDir, 'non-existent');

await expectError(fs.promises.stat, fn);
Expand All @@ -61,7 +59,6 @@ describe('Error tests', () => {
// Sync operations
if (fs.getMount('/').metadata.synchronous) {
it('should handle sync operations with error', () => {

const fn = path.join(fixturesDir, 'non-existent');
const existingFile = path.join(fixturesDir, 'exit.js');

Expand Down

0 comments on commit 76b7696

Please sign in to comment.