File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 35
35
- run : npm ci
36
36
- run : npm run build
37
37
38
-
39
38
Test :
40
39
runs-on : ubuntu-latest
41
40
steps :
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ import trimName from './trim-name.js';
3
3
4
4
it ( 'preserves regular names' , ( ) => {
5
5
expect ( trimName ( 'Regular name' ) ) . toBe ( 'Regular name' ) ;
6
- expect ( trimName ( 'One-click extension manager' ) ) . toBe ( 'One-click extension manager' ) ;
6
+ expect ( trimName ( 'One-click extension manager' ) ) . toBe (
7
+ 'One-click extension manager' ,
8
+ ) ;
7
9
} ) ;
8
10
9
11
it ( 'trims punctuation' , ( ) => {
@@ -13,7 +15,7 @@ it('trims punctuation', () => {
13
15
expect ( trimName ( 'French semicolon : Do things' ) ) . toBe ( 'French semicolon' ) ;
14
16
} ) ;
15
17
16
- it ( 'trims keywords' , ( ) => {
18
+ it ( 'trims keywords' , ( ) => {
17
19
expect ( trimName ( 'Cake Search Extension' ) ) . toBe ( 'Cake Search' ) ;
18
20
expect ( trimName ( 'Coconuts for Chrome' ) ) . toBe ( 'Coconuts' ) ;
19
21
expect ( trimName ( 'Electric Fans for Google Chrome' ) ) . toBe ( 'Electric Fans' ) ;
You can’t perform that action at this time.
0 commit comments