{"action":"opened","issue":{"url":"https://api.github.com/repos/testem/testem/issues/682","labels_url":"https://api.github.com/repos/testem/testem/issues/682/labels{/name}","comments_url":"https://api.github.com/repos/testem/testem/issues/682/comments","events_url":"https://api.github.com/repos/testem/testem/issues/682/events","html_url":"https://github.com/testem/testem/issues/682","id":117968836,"number":682,"title":"question: custom test page with tape","user":{"login":"cdaringe","id":1003261,"avatar_url":"https://avatars.githubusercontent.com/u/1003261?v=3","gravatar_id":"","url":"https://api.github.com/users/cdaringe","html_url":"https://github.com/cdaringe","followers_url":"https://api.github.com/users/cdaringe/followers","following_url":"https://api.github.com/users/cdaringe/following{/other_user}","gists_url":"https://api.github.com/users/cdaringe/gists{/gist_id}","starred_url":"https://api.github.com/users/cdaringe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdaringe/subscriptions","organizations_url":"https://api.github.com/users/cdaringe/orgs","repos_url":"https://api.github.com/users/cdaringe/repos","events_url":"https://api.github.com/users/cdaringe/events{/privacy}","received_events_url":"https://api.github.com/users/cdaringe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-20T05:42:05Z","updated_at":"2015-11-20T05:42:05Z","closed_at":null,"body":"Hi all:\r\n\r\nI'm trying to use testem on a pretty example page I already have running.  I was hoping something like this would work:\r\n\r\n```html\r\n<!-- myfolder/test.mustache -->\r\n        {{#serve_files}}\r\n        <script src=\"/{{src}}\"></script>\r\n        {{/serve_files}}\r\n        <script src=\"/testem.js\"></script>\r\n    </body>\r\n</html>\r\n```\r\n\r\n```js\r\n// built and served by testem (webpack'd)\r\nvar test = window.tape = require('tape');\r\nsetTimeout(function() {\r\n    test('constructor', function(t) {\r\n        t.pass('yahoo');\r\n        t.end();\r\n    });\r\n}, 500);\r\n```\r\n\r\nIn this regard, `tape` is on the window, and I was hoping `testem.js` would pick it up.\r\n\r\n<img width=\"381\" alt=\"screen shot 2015-11-19 at 10 38 12 pm\" src=\"https://cloud.githubusercontent.com/assets/1003261/11292681/a3fe3116-8f0e-11e5-9a00-f3a6eb4d6860.png\">\r\n\r\nTips?\r\n\r\nThanks!"}}