Skip to content

Commit

Permalink
add support for 'test' test function
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbreiding committed Aug 8, 2024
1 parent 21a72b0 commit 8fd88aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extension.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const { commands, Position, Range, window } = require('vscode')

const onlyRegex = /(describe|context|it)(\.only)/g
const skipRegex = /(describe|context|it)(\.skip)/g
const modifiableRunnableRegex = /(describe|context|it)(?=[ (])/
const onlyRegex = /(describe|context|it|test)(\.only)/g
const skipRegex = /(describe|context|it|test)(\.skip)/g
const modifiableRunnableRegex = /(describe|context|it|test)(?=[ (])/

const getLineText = (editor, selection) => {
const startLine = selection.start.line
Expand Down

0 comments on commit 8fd88aa

Please sign in to comment.