Skip to content

Commit dfee834

Browse files
author
ntwigg
committed
Move the test to a better place.
1 parent ed34d42 commit dfee834

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

browser-extension/src/entrypoints/__snapshots__/content.test.ts.snap renamed to browser-extension/tests/datamodel/handlers/__snapshots__/github-handler.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`GitHub PR Content Script > should create correct GitHubContext spot for PR comment > github-pr-517-spot 1`] = `
3+
exports[`GitHubHandler > should create correct GitHubContext spot for PR comment > github-pr-517-spot 1`] = `
44
{
55
"commentId": undefined,
66
"domain": "github.com",

browser-extension/src/entrypoints/content.test.ts renamed to browser-extension/tests/datamodel/handlers/github-handler.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { beforeEach, describe, expect, it, vi } from 'vitest'
2-
import { EnhancerRegistry, TextareaRegistry } from '../datamodel/registries'
2+
import { EnhancerRegistry, TextareaRegistry } from '../../../src/datamodel/registries'
33

44
// Mock WXT's defineContentScript global
55
vi.stubGlobal('defineContentScript', vi.fn())
66

7-
describe('GitHub PR Content Script', () => {
7+
describe('GitHubHandler', () => {
88
let enhancers: EnhancerRegistry
99
let enhancedTextareas: TextareaRegistry
1010
let mockTextarea: HTMLTextAreaElement

0 commit comments

Comments
 (0)