Skip to content

Commit

Permalink
Get error messages tests to work in the browser
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffreyBooth committed Dec 11, 2016
1 parent 000dc03 commit eb36d6e
Show file tree
Hide file tree
Showing 3 changed files with 1,199 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Cakefile
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,7 @@ task 'doc:test', 'watch and continually rebuild the browser-based tests', ->
# Helpers
testsInScriptBlocks = ->
output = ''
excludedTestFiles = ['error_messages.coffee']
for filename in fs.readdirSync testsSourceFolder
continue if filename in excludedTestFiles

if filename.indexOf('.coffee') isnt -1
type = 'coffeescript'
else if filename.indexOf('.litcoffee') isnt -1
Expand All @@ -266,7 +263,6 @@ task 'doc:test', 'watch and continually rebuild the browser-based tests', ->
output = render
testHelpers: testHelpers
tests: testsInScriptBlocks()
majorVersion: majorVersion
fs.writeFileSync "#{outputFolder}/test.html", output
log 'compiled', green, "#{testFile}#{outputFolder}/test.html"

Expand Down
Loading

0 comments on commit eb36d6e

Please sign in to comment.