diff --git a/__tests__/label/dynamicProtectedPrefix.test.ts b/__tests__/label/dynamicProtectedPrefix.test.ts new file mode 100644 index 00000000..ae341926 --- /dev/null +++ b/__tests__/label/dynamicProtectedPrefix.test.ts @@ -0,0 +1,102 @@ +import { Buffer } from 'node:buffer' + +import * as core from '@actions/core' +import { http } from 'msw' +import { setupServer } from 'msw/node' +import { afterAll, afterEach, beforeAll, describe, expect, it, vi } from 'vitest' + +import { handleIssueComment } from '../../src/issueComment/handleIssueComment' +import issuePayload from '../fixtures/issues/issue.json' +import issueCommentEvent from '../fixtures/issues/issueCommentEvent.json' + +import labelFileContents from '../fixtures/labels/labelFileContentsResp.json' +import * as utils from '../testUtils' + +// The protected-label refusal ("