- Simplify alternatives to run the script.
- Change style of code parts to be easier to the eye:
- Use the same font size as other texts in body.
- Add vertical padding.
- Align the contents (the code, copy button and dollar sign) in the
middle.
- Align information icon to center of context next to it.
- Fix minor typos and punctations.
- Refactor instruction list to be more generic to able to be used by
other operating systems.
- Make dialogs scrollable so instruction list on smaller screens can be
read until the end.
12 lines
482 B
TypeScript
12 lines
482 B
TypeScript
import 'mocha';
|
|
import { OperatingSystem } from '@/domain/OperatingSystem';
|
|
import { MacOsInstructionsBuilder } from '@/presentation/components/Code/CodeButtons/Instructions/Data/MacOsInstructionsBuilder';
|
|
import { runOsSpecificInstructionBuilderTests } from './OsSpecificInstructionBuilderTestRunner';
|
|
|
|
describe('MacOsInstructionsBuilder', () => {
|
|
runOsSpecificInstructionBuilderTests({
|
|
factory: () => new MacOsInstructionsBuilder(),
|
|
os: OperatingSystem.macOS,
|
|
});
|
|
});
|