Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(presets): use dash instead of spaces (#24374)
- Loading branch information
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { presets } from './monorepo'; | ||
|
||
const todo = new Set([ | ||
'arcus.background-jobs', | ||
'arcus.event-grid', | ||
'arcus.messaging', | ||
'arcus.observability', | ||
'arcus.security', | ||
'arcus.webapi', | ||
'aspnet aspnetwebstack', | ||
'aspnet extensions', | ||
'azure azure-libraries-for-net', | ||
'azure azure-sdk-for-net', | ||
'azure azure-storage-net', | ||
'Hangfire', | ||
'system.io.abstractions', | ||
'vaadinWebComponents', | ||
]); | ||
|
||
describe('config/presets/internal/monorepo', () => { | ||
it('presets should have right name', () => { | ||
for (const name of Object.keys(presets).filter((name) => !todo.has(name))) { | ||
expect(name).toMatch(/^[a-z0-9-]+$/); | ||
} | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters