Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 22df335

Browse files
committed
Merge pull request #2025 from adobe/randy/fix-unit-test
Fix Live Development unit test
2 parents ad169d6 + 9f0da09 commit 22df335

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/LiveDevelopment/LiveDevelopment.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ define(function LiveDevelopment(require, exports, module) {
8585
// Agents
8686
var agents = {
8787
"console" : require("LiveDevelopment/Agents/ConsoleAgent"),
88-
"css" : require("LiveDevelopment/Agents/CSSAgent"),
88+
"remote" : require("LiveDevelopment/Agents/RemoteAgent"),
89+
"network" : require("LiveDevelopment/Agents/NetworkAgent"),
8990
"dom" : require("LiveDevelopment/Agents/DOMAgent"),
90-
"edit" : require("LiveDevelopment/Agents/EditAgent"),
91-
"goto" : require("LiveDevelopment/Agents/GotoAgent"),
91+
"css" : require("LiveDevelopment/Agents/CSSAgent"),
92+
"script" : require("LiveDevelopment/Agents/ScriptAgent"),
9293
"highlight" : require("LiveDevelopment/Agents/HighlightAgent"),
93-
"network" : require("LiveDevelopment/Agents/NetworkAgent"),
94-
"remote" : require("LiveDevelopment/Agents/RemoteAgent"),
95-
"script" : require("LiveDevelopment/Agents/ScriptAgent")
94+
"goto" : require("LiveDevelopment/Agents/GotoAgent"),
95+
"edit" : require("LiveDevelopment/Agents/EditAgent")
9696
};
9797

9898
// Some agents are still experimental, so we don't enable them all by default
@@ -101,10 +101,10 @@ define(function LiveDevelopment(require, exports, module) {
101101
// Property names should match property names in the 'agents' object.
102102
var _enabledAgentNames = {
103103
"console" : true,
104-
"css" : true,
105-
"dom" : true,
104+
"remote" : true,
106105
"network" : true,
107-
"remote" : true
106+
"dom" : true,
107+
"css" : true
108108
};
109109

110110
// store the names (matching property names in the 'agent' object) of agents that we've loaded

test/spec/LiveDevelopment-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ define(function (require, exports, module) {
247247
});
248248
});
249249

250-
xit("should reapply in-memory css changes after saving changes in html document", function () {
250+
it("should reapply in-memory css changes after saving changes in html document", function () {
251251
var localCssText,
252252
browserCssText,
253253
origHtmlText,

0 commit comments

Comments
 (0)