From 9f594fa287a7fd9ec4871b159bfa271b9e699647 Mon Sep 17 00:00:00 2001 From: "Brady J. Garvin" <bgarvin@cse.unl.edu> Date: Wed, 20 Oct 2021 10:55:47 -0500 Subject: [PATCH] Corrected problem-specific npm test scripts. --- homework-3/package.json | 2 ++ package.json | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homework-3/package.json b/homework-3/package.json index 64c318b..2338cd1 100644 --- a/homework-3/package.json +++ b/homework-3/package.json @@ -8,6 +8,8 @@ "scripts": { "lint:js": "eslint --max-warnings 0 ./src", "lint": "run-s --continue-on-error lint:**", + "test-once:scheduleShifts": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage -t 'scheduleShifts'", + "test-once:inferGoals": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage -t 'inferGoals'", "test-once": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage", "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watchAll --coverage" }, diff --git a/package.json b/package.json index 7c37b23..ca219ca 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,8 @@ "postinstall": "run-s postinstall:**", "lint:app": "cd homework-3 && npm run lint", "lint": "run-s --continue-on-error lint:**", - "test-once:closestPair": "cd homework-3 && npm run test-once:closestPair", - "test-once:sumToN": "cd homework-3 && npm run test-once:sumToN", - "test-once:intervals": "cd homework-3 && npm run test-once:intervals", - "test-once:trains": "cd homework-3 && npm run test-once:trains", + "test-once:scheduleShifts": "cd homework-3 && npm run test-once:scheduleShifts", + "test-once:inferGoals": "cd homework-3 && npm run test-once:inferGoals", "test-once": "cd homework-3 && npm run test-once", "test": "run-s test-once", "start": "cd homework-3 && npm run start", -- GitLab