@@ -2,19 +2,19 @@ import { describe, expect, it } from "@jest/globals";
2
2
import { getHeadingTextFrom } from "../src/file-heading-extractor" ;
3
3
4
4
beforeAll ( ( ) => {
5
- process . env [ "GITHUB_REPOSITORY" ] = "dotnet/docs" ;
5
+ process . env [ "GITHUB_REPOSITORY" ] = "dotnet/docs" ;
6
6
} ) ;
7
7
8
8
describe ( "file-heading-extractor" , ( ) => {
9
- it ( "when calling getHeadingTextFrom correctly returns H1 value." , async ( ) => {
10
- const path = "__tests__/sample.md" ;
11
- const actual = await getHeadingTextFrom ( path ) ;
12
- expect ( actual ) . toBe ( "The heading `System.Console` class" ) ;
13
- } ) ;
9
+ it ( "when calling getHeadingTextFrom correctly returns H1 value." , async ( ) => {
10
+ const path = "__tests__/sample.md" ;
11
+ const actual = await getHeadingTextFrom ( path ) ;
12
+ expect ( actual ) . toBe ( "The heading `System.Console` class" ) ;
13
+ } ) ;
14
14
15
- it ( "when calling getHeadingTextFrom correctly returns title value." , async ( ) => {
16
- const path = "__tests__/no-heading.md" ;
17
- const actual = await getHeadingTextFrom ( path ) ;
18
- expect ( actual ) . toBe ( "Phew, that worked!" ) ;
19
- } ) ;
15
+ it ( "when calling getHeadingTextFrom correctly returns title value." , async ( ) => {
16
+ const path = "__tests__/no-heading.md" ;
17
+ const actual = await getHeadingTextFrom ( path ) ;
18
+ expect ( actual ) . toBe ( "Phew, that worked!" ) ;
19
+ } ) ;
20
20
} ) ;
0 commit comments