Skip to content

Commit

Permalink
test: change monospace to the default font family
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 27, 2020
1 parent c1f74e7 commit df4796d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions spec/element-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2203,7 +2203,7 @@ describe('XTerminalElement', () => {
const expected = {
cursorBlink: true,
fontSize: 14,
fontFamily: 'monospace',
fontFamily: 'Menlo, Consolas, DejaVu Sans Mono, monospace',
theme: this.element.getTheme(),
}
expect(this.element.getXtermOptions()).toEqual(expected)
Expand All @@ -2216,7 +2216,7 @@ describe('XTerminalElement', () => {
const expected = {
cursorBlink: true,
fontSize: 14,
fontFamily: 'monospace',
fontFamily: 'Menlo, Consolas, DejaVu Sans Mono, monospace',
theme: this.element.getTheme(),
}
expect(this.element.getXtermOptions()).toEqual(expected)
Expand Down Expand Up @@ -2371,7 +2371,7 @@ describe('XTerminalElement', () => {
it('base profile changed, font size and xterm options remained the same', () => {
const profile = {
fontSize: 14,
fontFamily: 'monospace',
fontFamily: 'Menlo, Consolas, DejaVu Sans Mono, monospace',
theme: 'Custom',
colorForeground: '#ffffff',
colorBackground: '#000000',
Expand Down Expand Up @@ -2410,7 +2410,7 @@ describe('XTerminalElement', () => {
it('base profile changed, font size changed, xterm options remained the same', () => {
const profile = {
fontSize: 14,
fontFamily: 'monospace',
fontFamily: 'Menlo, Consolas, DejaVu Sans Mono, monospace',
theme: 'Custom',
colorForeground: '#ffffff',
colorBackground: '#000000',
Expand Down Expand Up @@ -2453,7 +2453,7 @@ describe('XTerminalElement', () => {
it('base profile changed, font size remained the same, xterm options changed', () => {
const profile = {
fontSize: 14,
fontFamily: 'monospace',
fontFamily: 'Menlo, Consolas, DejaVu Sans Mono, monospace',
theme: 'Custom',
colorForeground: '#ffffff',
colorBackground: '#000000',
Expand Down Expand Up @@ -2500,7 +2500,7 @@ describe('XTerminalElement', () => {
it('base profile changed, font size and xterm options changed', () => {
const profile = {
fontSize: 14,
fontFamily: 'monospace',
fontFamily: 'Menlo, Consolas, DejaVu Sans Mono, monospace',
theme: 'Custom',
colorForeground: '#ffffff',
colorBackground: '#000000',
Expand Down Expand Up @@ -2550,7 +2550,7 @@ describe('XTerminalElement', () => {
const profile = {
command: 'somecommand',
fontSize: 14,
fontFamily: 'monospace',
fontFamily: 'Menlo, Consolas, DejaVu Sans Mono, monospace',
theme: 'Custom',
colorForeground: '#ffffff',
colorBackground: '#000000',
Expand Down
2 changes: 1 addition & 1 deletion spec/profiles-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('XTerminalProfilesSingleton', () => {
deleteEnv: ['NODE_ENV'],
encoding: null,
fontSize: 14,
fontFamily: 'monospace',
fontFamily: 'Menlo, Consolas, DejaVu Sans Mono, monospace',
theme: 'Custom',
colorForeground: '#ffffff',
colorBackground: '#000000',
Expand Down

0 comments on commit df4796d

Please sign in to comment.