test fixes for Node.js v20

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-08-31 21:11:13 +02:00
parent 47d73e401f
commit 6246571911
7 changed files with 29 additions and 29 deletions
@@ -571,7 +571,7 @@ Please add '/backstageRoot/node_modules' to the 'NODE_PATH' when running the bac
"failed to load dynamic plugin manifest from '/backstageRoot/dist-dynamic/test-backend-plugin/alpha'",
meta: {
name: 'SyntaxError',
message: 'Unexpected token i in JSON at position 0',
message: expect.stringContaining('Unexpected token'),
},
},
],
@@ -604,7 +604,7 @@ Please add '/backstageRoot/node_modules' to the 'NODE_PATH' when running the bac
"failed to load dynamic plugin manifest from '/backstageRoot/dist-dynamic/test-backend-plugin'",
meta: {
name: 'SyntaxError',
message: 'Unexpected token i in JSON at position 0',
message: expect.stringContaining('Unexpected token'),
},
},
],