Skip to content

Commit

Permalink
chore: change path of edtior style in karma
Browse files Browse the repository at this point in the history
  • Loading branch information
seonim-ryu committed Apr 20, 2020
1 parent 518742c commit e92faea
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/editor/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ module.exports = function(config) {
frameworks: ['jasmine-ajax', 'jasmine-jquery', 'jasmine'],
files: [
'node_modules/codemirror/lib/codemirror.css',
'src/css/toastui-editor.css',
'src/css/editor.css',
'test/unit/fixtures/*.html',
'test/unit/index.js'
],
Expand Down
2 changes: 1 addition & 1 deletion apps/editor/test/unit/codeMirrorExt.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('CodeMirrorExt', () => {

beforeEach(() => {
jasmine.getStyleFixtures().fixturesPath = '/base';
loadStyleFixtures('src/css/toastui-editor.css');
loadStyleFixtures('src/css/editor.css');
loadStyleFixtures('node_modules/codemirror/lib/codemirror.css');

container = document.createElement('div');
Expand Down
2 changes: 1 addition & 1 deletion apps/editor/test/unit/editor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('Editor', () => {
describe('Api', () => {
beforeEach(() => {
jasmine.getStyleFixtures().fixturesPath = '/base';
loadStyleFixtures('node_modules/codemirror/lib/codemirror.css', 'src/css/toastui-editor.css');
loadStyleFixtures('node_modules/codemirror/lib/codemirror.css', 'src/css/editor.css');
container = document.createElement('div');
document.body.appendChild(container);

Expand Down
2 changes: 1 addition & 1 deletion apps/editor/test/unit/integration/editor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('Editor', () => {

beforeEach(() => {
jasmine.getStyleFixtures().fixturesPath = '/base';
loadStyleFixtures('node_modules/codemirror/lib/codemirror.css', 'src/css/toastui-editor.css');
loadStyleFixtures('node_modules/codemirror/lib/codemirror.css', 'src/css/editor.css');
container = document.createElement('div');
document.body.appendChild(container);
});
Expand Down
2 changes: 1 addition & 1 deletion apps/editor/test/unit/ui/defaultToolbar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('DefaultToolbar', () => {

beforeEach(() => {
jasmine.getStyleFixtures().fixturesPath = '/base';
loadStyleFixtures('src/css/toastui-editor.css');
loadStyleFixtures('src/css/editor.css');

$container = $('<div style="width: 500px;">');
$('body').append($container);
Expand Down
2 changes: 1 addition & 1 deletion apps/editor/test/unit/ui/scrollSyncSplit.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('ScrollSyncSplit', () => {

beforeEach(done => {
jasmine.getStyleFixtures().fixturesPath = '/base';
loadStyleFixtures('src/css/toastui-editor.css');
loadStyleFixtures('src/css/editor.css');

container = document.createElement('div');
container.style.position = 'relative';
Expand Down

0 comments on commit e92faea

Please sign in to comment.