Skip to content

Commit

Permalink
chore: remove .only and clean up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
alicelovescake committed Apr 1, 2024
1 parent 20271fa commit 39aeaac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/operations.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const saveDir = (o: { dir: string }) => {
return o.dir;
};

const backportPRMergedEvent = require('./fixtures/backport_pull_request.merged.json');
const backportPRClosedEvent = require('./fixtures/backport_pull_request.closed.json');
const backportPRMergedEvent = require('./fixtures/backport_pull_request.merged.json');
const backportPROpenedEvent = require('./fixtures/backport_pull_request.opened.json');

jest.mock('../src/utils', () => ({
Expand Down Expand Up @@ -122,7 +122,7 @@ describe('runner', () => {
});
});

describe.only('updateManualBackport()', () => {
describe('updateManualBackport()', () => {
let context: any;
const octokit = {
pulls: {
Expand Down
2 changes: 1 addition & 1 deletion src/operations/update-manual-backport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
} from '../constants';
import { PRChange, PRStatus, LogLevel } from '../enums';
import { WebHookPRContext } from '../types';
import * as labelUtils from '../utils/label-utils';
import { isSemverMinorPR, tagBackportReviewers } from '../utils';
import * as labelUtils from '../utils/label-utils';
import { log } from '../utils/log-util';

/**
Expand Down

0 comments on commit 39aeaac

Please sign in to comment.