@@ -18,29 +18,29 @@ describe('socket analytics', async () => {
1818 const { code, stderr, stdout } = await invokeNpm ( entryPath , cmd )
1919 expect ( stdout ) . toMatchInlineSnapshot (
2020 `
21- "Look up analytics data
22-
23- Usage
24- $ socket analytics --scope=<scope> --time=<time filter>
25-
26- Default parameters are set to show the organization-level analytics over the
27- last 7 days.
28-
29- Options
30- --dryRun Do input validation for a command and exit 0 when input is ok
31- --file Path to a local file to save the output. Only valid with --json/--markdown. Defaults to stdout.
32- --help Print this help.
33- --json Output result as json
34- --markdown Output result as markdown
35- --repo Name of the repository. Only valid when scope=repo
36- --scope Scope of the analytics data - either 'org' or 'repo', default: org
37- --time Time filter - either 7, 30 or 90, default: 7
38-
39- Examples
40- $ socket analytics --scope=org --time=7
41- $ socket analytics --scope=org --time=30
42- $ socket analytics --scope=repo --repo=test-repo --time=30"
43- `
21+ "Look up analytics data
22+
23+ Usage
24+ $ socket analytics --scope=<scope> --time=<time filter>
25+
26+ Default parameters are set to show the organization-level analytics over the
27+ last 7 days.
28+
29+ Options
30+ --dryRun Do input validation for a command and exit 0 when input is ok
31+ --file Path to a local file to save the output. Only valid with --json/--markdown. Defaults to stdout.
32+ --help Print this help
33+ --json Output result as json
34+ --markdown Output result as markdown
35+ --repo Name of the repository. Only valid when scope=repo
36+ --scope Scope of the analytics data - either 'org' or 'repo', default: org
37+ --time Time filter - either 7, 30 or 90, default: 7
38+
39+ Examples
40+ $ socket analytics --scope=org --time=7
41+ $ socket analytics --scope=org --time=30
42+ $ socket analytics --scope=repo --repo=test-repo --time=30"
43+ `
4444 )
4545 expect ( `\n ${ stderr } ` ) . toMatchInlineSnapshot ( `
4646 "
0 commit comments