Skip to content

Commit

Permalink
fix: change test name
Browse files Browse the repository at this point in the history
  • Loading branch information
CurryYangxx committed Apr 9, 2024
1 parent 0ab7426 commit 898e44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/insomnia/src/templating/__tests__/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ describe('decodeEncoding()', () => {
describe('extractVariableKey()', () => {
beforeEach(globalBeforeEach);

it('encodes things', () => {
it('extract nunjucks variable key', () => {
expect(utils.extractVariableKey('{{name}}', 1, 1)).toBe('name');
expect(utils.extractVariableKey('aaaaaa{{name}}', 1, 7)).toBe('name');
expect(utils.extractVariableKey('{{name}}\n\n{{age}}', 3, 1)).toBe('age');
Expand Down

0 comments on commit 898e44d

Please sign in to comment.