Skip to content

Commit 7443baa

Browse files
committed
- Testing: Better naming
1 parent d09884a commit 7443baa

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
/**
77
* @callback VMTestIterator
8-
* @param {"Node vm"|"Built-in vm"} vmType
8+
* @param {"Node vm"|"JSONPath vm"} vmType
99
* @param {BeforeChecker} beforeChecker
1010
* @returns {void}
1111
*/
@@ -17,9 +17,9 @@
1717
function checkBuiltInVMAndNodeVM (cb) {
1818
[
1919
'Node vm',
20-
'Built-in vm'
20+
'JSONPath vm'
2121
].forEach((vmType) => {
22-
const checkingBuiltInVM = vmType === 'Built-in vm';
22+
const checkingBuiltInVM = vmType === 'JSONPath vm';
2323
cb(
2424
vmType,
2525
checkingBuiltInVM

test/test.all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkBuiltInVM.js';
1+
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkVM.js';
22

33
checkBuiltInVMAndNodeVM(function (vmType, setBuiltInState) {
44
describe(`JSONPath - All (${vmType})`, function () {

test/test.custom-properties.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkBuiltInVM.js';
1+
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkVM.js';
22

33
checkBuiltInVMAndNodeVM(function (vmType, setBuiltInState) {
44
describe(`JSONPath - Custom properties (${vmType})`, function () {

test/test.errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkBuiltInVM.js';
1+
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkVM.js';
22

33
checkBuiltInVMAndNodeVM(function (vmType, setBuiltInState) {
44
describe(`JSONPath - Error (${vmType})`, function () {

test/test.eval.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkBuiltInVM.js';
1+
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkVM.js';
22

33
checkBuiltInVMAndNodeVM(function (vmType, setBuiltInState) {
44
describe(`JSONPath - Eval (${vmType})`, function () {

test/test.examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkBuiltInVM.js';
1+
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkVM.js';
22

33
checkBuiltInVMAndNodeVM(function (vmType, setBuiltInState) {
44
describe(`JSONPath - Examples (${vmType})`, function () {

test/test.parent-selector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkBuiltInVM.js';
1+
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkVM.js';
22

33
checkBuiltInVMAndNodeVM(function (vmType, setBuiltInState) {
44
describe(`JSONPath - Parent selector (${vmType})`, function () {

test/test.properties.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkBuiltInVM.js';
1+
import {checkBuiltInVMAndNodeVM} from '../test-helpers/checkVM.js';
22

33
checkBuiltInVMAndNodeVM(function (vmType, setBuiltInState) {
44
describe(`JSONPath - Properties (${vmType})`, function () {

0 commit comments

Comments
 (0)