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:
Lucas De Souza
2022-11-28 12:06:10 -06:00
parent da01dfdacd
commit ac87547571
@@ -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: {