mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-07 20:39:59 +02:00
test: Added more tests for glance, b=(no-bug), c=tests, scripts, tabs, glance, workspaces
This commit is contained in:
parent
ad124c9d95
commit
addc318f29
11 changed files with 197 additions and 273 deletions
|
@ -5,7 +5,7 @@ from pathlib import Path
|
|||
|
||||
|
||||
def main():
|
||||
project_root = Path(__file__).resolve().parent
|
||||
project_root = Path(__file__).resolve().parent.parent
|
||||
package_json = project_root / 'package.json'
|
||||
|
||||
# Ensure script is run from project root
|
||||
|
@ -14,10 +14,11 @@ def main():
|
|||
sys.exit(1)
|
||||
|
||||
args = sys.argv[1:]
|
||||
if not args:
|
||||
path = ""
|
||||
else:
|
||||
path = args[0]
|
||||
path = ""
|
||||
for arg in args:
|
||||
if not arg.startswith("--"):
|
||||
path = arg
|
||||
break
|
||||
|
||||
# Collect any additional arguments
|
||||
other_args = [arg for arg in args if arg != path]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue