This test fails in a namespace org/package. I see other PRs related to namespace support; however I don't think they will address this specific issue.
@IsTest
private static void bypassWithTypeShouldSucceed() {
MetadataTriggerHandler.bypass(TestBeforeInsert.class);
System.Assert.isTrue(
MetadataTriggerHandler.bypassedActions.contains(TEST_BEFORE_INSERT),
BYPASSES_SHOULD_BE_CONFIGURED_PROPERLY
);
}
private static final String TEST_BEFORE_INSERT = 'MetadataTriggerHandlerTest.TestBeforeInsert';