mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
test fix
This commit is contained in:
1 parent
ce4a602270
commit
ad5902cdc6
1 file changed
+1
-1
@@ -421,7 +421,7 @@ describe('ProjectsManager', () => {
|
|||||||
|
|
||||||
// Should have logged a security warning about skipped files
|
// Should have logged a security warning about skipped files
|
||||||
expect(consoleSpy).toHaveBeenCalledWith(
|
expect(consoleSpy).toHaveBeenCalledWith(
|
||||||
expect.stringContaining('Skipped 2 files due to security concerns'),
|
expect.stringContaining('Skipped 2 files due to resolving to paths outside the project direcotry:'),
|
||||||
['../../../etc/passwd', '../../outside.txt']
|
['../../../etc/passwd', '../../outside.txt']
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user