mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-03 07:57:22 +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
|
||||
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']
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user