update regex to pattern on test name
Co-authored-by: Zeky Abubaker <zeky.abubaker@aa.com> Signed-off-by: Lucas De Souza <lucas.desouza@aa.com>
This commit is contained in:
@@ -221,7 +221,7 @@ describe('DefaultCatalogRulesEnforcer', () => {
|
||||
expect(enforcer.isAllowed(entity.location, location.z)).toBe(false);
|
||||
});
|
||||
|
||||
it('should only allow locations that match a given regex', () => {
|
||||
it('should only allow locations that match a given pattern', () => {
|
||||
const enforcer = DefaultCatalogRulesEnforcer.fromConfig(
|
||||
new ConfigReader({
|
||||
catalog: {
|
||||
|
||||
Reference in New Issue
Block a user