Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit 9cea8c3

Browse files
author
Kahlil Lechelt
committed
Use the generated module's name as argument in test-spec define callback.
1 parent 5e71978 commit 9cea8c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/templates/example.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* An example specification for the example module
33
* Loads the module and runs the test suite
44
*/
5-
define(['modules/<%= name %>'], function (module) {
5+
define(['modules/<%= name %>'], function (<%= name %>) {
66
'use strict';
77

88
// Test suite INIT

0 commit comments

Comments
 (0)