-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #594 from scania/improvement/upgrade_stencil_2
Improvement/upgrade stencil 2
- Loading branch information
Showing
28 changed files
with
5,114 additions
and
2,900 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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
.build/ | ||
.www/ | ||
.data/ | ||
src/**/**.md | ||
|
||
# Compiled theme | ||
src/themes.built/ | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,13 +1,20 @@ | ||
import { Content } from './content'; | ||
import { applyTheme } from '../../global.spec'; | ||
import store from '../../store'; | ||
|
||
const component = new Content(); | ||
describe('content', function () { | ||
|
||
describe('content', (function () { | ||
beforeEach(() => { | ||
store.dispose(); | ||
}); | ||
|
||
applyTheme.call(this); | ||
it('set theme', () => { | ||
const component = new Content(); | ||
applyTheme(component); | ||
}); | ||
|
||
it('is initiated', () => { | ||
expect(this).toBeTruthy(); | ||
const component = new Content(); | ||
expect(component).toBeTruthy(); | ||
}); | ||
}).bind(component)); | ||
}); |
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
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
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 |
---|---|---|
@@ -1,14 +1,21 @@ | ||
// import { store } from '../../store'; | ||
import { applyTheme } from '../../global.spec'; | ||
import store from '../../store'; | ||
import { DealerHeader } from './dealer-header'; | ||
|
||
const component = new DealerHeader(); | ||
const dealerHeader = new DealerHeader(); | ||
|
||
describe('dealer-header', (function () { | ||
describe('dealer-header', function () { | ||
|
||
applyTheme.call(this); | ||
beforeEach(() => { | ||
store.dispose(); | ||
}); | ||
|
||
it('set theme', () => { | ||
const component = new DealerHeader(); | ||
applyTheme(component); | ||
}); | ||
|
||
it('is initiated', () => { | ||
expect(this).toBeTruthy(); | ||
expect(dealerHeader).toBeTruthy(); | ||
}); | ||
}).bind(component)); | ||
}); |
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
Oops, something went wrong.