Skip to content

Commit

Permalink
@withMiddleware decorator functional, tested
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Brams authored and Minibrams committed Nov 24, 2023
1 parent a2733fc commit 624b38c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ export function getOrCreateMetadata<T>(
}

return Reflect.getMetadata(key, target) as T;
}
}
2 changes: 1 addition & 1 deletion test/features/decorator_middleware.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,4 +300,4 @@ describe('Unit Test: @middleware decorator', () => {
done();
});
});
});
});

0 comments on commit 624b38c

Please sign in to comment.