diff --git a/gulpfile.js b/gulpfile.js index 83949c81..eca70948 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -270,7 +270,7 @@ gulp.task('generate-test-samples', function() { }); var prefix = '//This is a generated file via gulp generate-test-samples\ndefine([], function() { return'; var suffix = '; });' - fs.writeFileSync(path.join(__dirname, 'test/samples-all.js'), prefix + JSON.stringify(samples, null, '\t') + suffix ); + fs.writeFileSync(path.join(__dirname, 'test/samples-all.generated.js'), prefix + JSON.stringify(samples, null, '\t') + suffix ); var PLAY_SAMPLES = require(path.join(WEBSITE_GENERATED_PATH, 'all.js')).PLAY_SAMPLES; var locations = []; diff --git a/test/samples-all.js b/test/samples-all.generated.js similarity index 100% rename from test/samples-all.js rename to test/samples-all.generated.js diff --git a/test/samples.js b/test/samples.js index 7249c04e..d1ec1585 100644 --- a/test/samples.js +++ b/test/samples.js @@ -1,6 +1,6 @@ /// -define(['./samples-all'], function(ALL_SAMPLES) { +define(['./samples-all.generated'], function(ALL_SAMPLES) { var XHR_SAMPLES = {}; ALL_SAMPLES.forEach(function(sample) { diff --git a/test/smoketest.js b/test/smoketest.js index 1e8876e2..b678da8e 100644 --- a/test/smoketest.js +++ b/test/smoketest.js @@ -1,5 +1,5 @@ /// -define(['./samples-all'], function(ALL_SAMPLES) { +define(['./samples-all.generated'], function(ALL_SAMPLES) { var XHR_SAMPLES = {}; ALL_SAMPLES.forEach(function(sample) {