Fix Defang IP tests causing the tests to fail

This commit is contained in:
j433866 2019-08-13 16:45:53 +01:00
parent e2c7d8c678
commit 59864e3781

View file

@ -6,7 +6,7 @@
* @copyright Crown Copyright 2019
* @license Apache-2.0
*/
import TestRegister from "../TestRegister";
import TestRegister from "../../lib/TestRegister.mjs";
TestRegister.addTests([
{
@ -15,7 +15,7 @@ TestRegister.addTests([
expectedOutput: "192[.]168[.]1[.]1",
recipeConfig: [
{
op: "Defang IP",
op: "Defang IP Addresses",
args: [],
},
],
@ -25,7 +25,7 @@ TestRegister.addTests([
expectedOutput: "2001[:]0db8[:]85a3[:]0000[:]0000[:]8a2e[:]0370[:]7343",
recipeConfig: [
{
op: "Defang IP",
op: "Defang IP Addresses",
args: [],
},
],
@ -35,7 +35,7 @@ TestRegister.addTests([
expectedOutput: "2001[:]db8[:]3c4d[:]15[:][:]1a2f[:]1a2b",
recipeConfig: [
{
op: "Defang IP",
op: "Defang IP Addresses",
args: [],
},
],