Просмотр исходного кода

test(ci-workflow): name the cancellation assertion literally

Replace 'kill' with 'cancel' in the test name to match the mechanism and
the runbook wording.
Chinesezjc 1 месяц назад
Родитель
Сommit
fb0fae65a8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/ci-workflow.spec.ts

+ 1 - 1
scripts/ci-workflow.spec.ts

@@ -84,7 +84,7 @@ describe('CI workflow', () => {
     expect(aggregate.needs).not.toContain('serial-windows')
   })
 
-  it('exempts push from cancellation, so one master merge does not kill the running drill', () => {
+  it('exempts push from cancellation, so one master merge does not cancel the running drill', () => {
     const workflow = loadWorkflow('.github/workflows/ci.yml')
     if (!isRecord(workflow.jobs) || !isRecord(workflow.concurrency)) {
       throw new TypeError('CI workflow must define jobs and a workflow-level concurrency block')