File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- import type { OverTypeInstance } from '../overtype/ overtype'
1+ import type { OverTypeInstance } from 'overtype'
22
33/**
44 * Stores enough info about the location of a draft to:
Original file line number Diff line number Diff line change 1- import OverType , { type OverTypeInstance } from '../../../overtype/ overtype'
1+ import OverType , { type OverTypeInstance } from 'overtype'
22import type { CommentEnhancer , CommentSpot } from '../../enhancer'
33import { logger } from '../../logger'
44import { modifyDOM } from '../modifyDOM'
Original file line number Diff line number Diff line change 1- import OverType , { type OverTypeInstance } from '../../../overtype/ overtype'
1+ import OverType , { type OverTypeInstance } from 'overtype'
22import type { CommentEnhancer , CommentSpot } from '../../enhancer'
33import { logger } from '../../logger'
44import { modifyDOM } from '../modifyDOM'
Original file line number Diff line number Diff line change 1- import type { OverTypeInstance } from '../overtype/ overtype'
1+ import type { OverTypeInstance } from 'overtype'
22import type { CommentEnhancer , CommentSpot } from './enhancer'
33import { GitHubIssueAddCommentEnhancer } from './enhancers/github/githubIssueAddComment'
44import { GitHubPRAddCommentEnhancer } from './enhancers/github/githubPRAddComment'
Original file line number Diff line number Diff line change 11import hljs from 'highlight.js'
2- import OverType from '../overtype/ overtype'
2+ import OverType from 'overtype'
33
44export function githubPrNewCommentContentScript ( ) {
55 if ( window . location . hostname !== 'github.com' ) {
Original file line number Diff line number Diff line change 11import { vi } from 'vitest'
22
33// Mock the OverType editor component
4- vi . mock ( '../src/overtype/ overtype' , ( ) => {
4+ vi . mock ( 'overtype' , ( ) => {
55 const mockConstructor = vi . fn ( ) . mockImplementation ( ( ) => [
66 {
77 container : document . createElement ( 'div' ) ,
You can’t perform that action at this time.
0 commit comments