Skip to content

Commit 4300bd7

Browse files
author
Robert Jackson
committed
Remove unused options from lib/colocated-broccoli-plugin.js tests.
1 parent 01818b7 commit 4300bd7

File tree

1 file changed

+11
-55
lines changed

1 file changed

+11
-55
lines changed

node-tests/colocated-broccoli-plugin-test.js

Lines changed: 11 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@ describe('ColocatedTemplateCompiler', function() {
3434
},
3535
});
3636

37-
let tree = new ColocatedTemplateCompiler(input.path(), {
38-
precompile(template) {
39-
return JSON.stringify({ template });
40-
},
41-
});
37+
let tree = new ColocatedTemplateCompiler(input.path());
4238

4339
output = createBuilder(tree);
4440
await output.build();
@@ -82,11 +78,7 @@ describe('ColocatedTemplateCompiler', function() {
8278
},
8379
});
8480

85-
let tree = new ColocatedTemplateCompiler(input.path(), {
86-
precompile(template) {
87-
return JSON.stringify({ template });
88-
},
89-
});
81+
let tree = new ColocatedTemplateCompiler(input.path());
9082

9183
output = createBuilder(tree);
9284
await output.build();
@@ -130,11 +122,7 @@ describe('ColocatedTemplateCompiler', function() {
130122
},
131123
});
132124

133-
let tree = new ColocatedTemplateCompiler(input.path(), {
134-
precompile(template) {
135-
return JSON.stringify({ template });
136-
},
137-
});
125+
let tree = new ColocatedTemplateCompiler(input.path());
138126

139127
output = createBuilder(tree);
140128
await output.build();
@@ -177,11 +165,7 @@ describe('ColocatedTemplateCompiler', function() {
177165
},
178166
});
179167

180-
let tree = new ColocatedTemplateCompiler(input.path(), {
181-
precompile(template) {
182-
return JSON.stringify({ template });
183-
},
184-
});
168+
let tree = new ColocatedTemplateCompiler(input.path());
185169

186170
output = createBuilder(tree);
187171
await output.build();
@@ -221,11 +205,7 @@ describe('ColocatedTemplateCompiler', function() {
221205
},
222206
});
223207

224-
let tree = new ColocatedTemplateCompiler(input.path(), {
225-
precompile(template) {
226-
return JSON.stringify({ template });
227-
},
228-
});
208+
let tree = new ColocatedTemplateCompiler(input.path());
229209

230210
output = createBuilder(tree);
231211
await output.build();
@@ -273,11 +253,7 @@ describe('ColocatedTemplateCompiler', function() {
273253
},
274254
});
275255

276-
let tree = new ColocatedTemplateCompiler(input.path(), {
277-
precompile(template) {
278-
return JSON.stringify({ template });
279-
},
280-
});
256+
let tree = new ColocatedTemplateCompiler(input.path());
281257

282258
output = createBuilder(tree);
283259
await output.build();
@@ -325,11 +301,7 @@ describe('ColocatedTemplateCompiler', function() {
325301
},
326302
});
327303

328-
let tree = new ColocatedTemplateCompiler(input.path(), {
329-
precompile(template) {
330-
return JSON.stringify({ template });
331-
},
332-
});
304+
let tree = new ColocatedTemplateCompiler(input.path());
333305

334306
output = createBuilder(tree);
335307
await output.build();
@@ -352,11 +324,7 @@ describe('ColocatedTemplateCompiler', function() {
352324
},
353325
});
354326

355-
let tree = new ColocatedTemplateCompiler(input.path(), {
356-
precompile(template) {
357-
return JSON.stringify({ template });
358-
},
359-
});
327+
let tree = new ColocatedTemplateCompiler(input.path());
360328

361329
output = createBuilder(tree);
362330
await output.build();
@@ -371,11 +339,7 @@ describe('ColocatedTemplateCompiler', function() {
371339
it('it works if there are no input files', async function() {
372340
input.write({});
373341

374-
let tree = new ColocatedTemplateCompiler(input.path(), {
375-
precompile(template) {
376-
return JSON.stringify({ template });
377-
},
378-
});
342+
let tree = new ColocatedTemplateCompiler(input.path());
379343

380344
output = createBuilder(tree);
381345
await output.build();
@@ -406,11 +370,7 @@ describe('ColocatedTemplateCompiler', function() {
406370
},
407371
});
408372

409-
let tree = new ColocatedTemplateCompiler(input.path(), {
410-
precompile(template) {
411-
return JSON.stringify({ template });
412-
},
413-
});
373+
let tree = new ColocatedTemplateCompiler(input.path());
414374

415375
output = createBuilder(tree);
416376
await output.build();
@@ -450,11 +410,7 @@ describe('ColocatedTemplateCompiler', function() {
450410
},
451411
});
452412

453-
let tree = new ColocatedTemplateCompiler(input.path(), {
454-
precompile(template) {
455-
return JSON.stringify({ template });
456-
},
457-
});
413+
let tree = new ColocatedTemplateCompiler(input.path());
458414

459415
output = createBuilder(tree);
460416
await output.build();

0 commit comments

Comments
 (0)