Skip to content

Instantly share code, notes, and snippets.

@jrgm
Created July 7, 2012 02:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrgm/3063839 to your computer and use it in GitHub Desktop.
Save jrgm/3063839 to your computer and use it in GitHub Desktop.
fix static_resources test
diff --git a/tests/static-resource-test.js b/tests/static-resource-test.js
index 66a83a9..76307a4 100755
--- a/tests/static-resource-test.js
+++ b/tests/static-resource-test.js
@@ -23,7 +23,15 @@ suite.addBatch({
var res = resources.resources;
assert.ok(files['/production/dialog.css'].length >= 3);
// Get ride of non-localized asset bundles
- ['/production/communication_iframe.js', '/production/include.js', '/production/dialog.css', '/production/browserid.css', '/production/ie8_main.css', '/production/ie8_dialog.css', '/production/relay.js', '/production/html5shim.js'].forEach(
+ ['/production/communication_iframe.js',
+ '/production/include.js',
+ '/production/dialog.css',
+ '/production/browserid.css',
+ '/production/ie8_main.css',
+ '/production/ie8_dialog.css',
+ '/production/relay.js',
+ '/production/html5shim.js',
+ '/production/authenticate_with_primary.js'].forEach(
function (nonLocaleAsset) {
delete res[nonLocaleAsset];
delete files[nonLocaleAsset];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment