-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Travis tests failing in Node 4 and 10 #205
Comments
@jywarren I'm currently attending to #168, installing peer dependencies ( |
unlinkSync, unlike unlink, doesn't require callbacks (inside node_modules/tasks/jasmine.js)
|
Building on travis now |
@jywarren wrote and tried this on my system and it works fine (although I used relative path |
I ran this on node 11 and even that passed!
|
Tried bumping #168 contrib-jasmine to 1.1.0 and applied the above fix, build passed. Maybe I should check the changelogs after that release, because upon testing this on v2.0.0 (Phantom removed Chrome headless added) to v2.0.3, the errors are the same. |
Reverted everything and tried testing in node 10 on a previous commit but that showed the same error too.
|
Hmm, this is complex! What do you think the next step should be?
…On Sun, Jan 6, 2019 at 2:50 PM Pranshu Srivastava ***@***.***> wrote:
Tried testing in node 10 on a previous commit
<https://github.com/publiclab/PublicLab.Editor/tree/7da18f647834dba5a031419fedaa34d23daeb65e>
but that showed the same error too.
HEAD is now at 7da18f6 PL.Editor #182 Data-urls detect-and-instruct (#200)
Running "jasmine:publiclabeditor" (jasmine) task
Testing jasmine specs via PhantomJS
Editor
✓ exists, and has a textarea
✓ counts valid modules and enables publish button
✓ sends AJAX request on editor.publish()
Errors
✓ displays given errors
✓ does not display error alert if there are no errors
Formatter
✓ converts basic post data into a given format
History
✓ has log, key, interval, and id
✓ can be flushed
✓ adds, fetches, and stores
✓ creates new log entry when value() set
✓ stores only 20 items until we optimize it
✓ writes out history to a DOM element
MainImageModule
✓ reports key, value, valid
✓ makes upload request
Prepopulated editor
✓ loads existing title, body, & tags
✓ accepts prepopulated values via constructor options, by key
RichTextModule
✓ reports key, value, valid
✓ sets and reports value regardless of whether it's in markdown or wysiwyg mode
✓ recognizes @callouts and #hashtags and #hash-tags
✓ accepts customized authors method as constructor option for @callouts
✓ detects data-urls
TagsModule
✓ reports key, value, valid
✓ adds value to 'tags' key of editor.data, instead of overwriting it
Wysiwyg
✓ converts markdown to html and back
✓ parses @usernames and #tagnames and #tag-names
* runs post-conversion filter
26 specs in 1.034s.
>> 0 failures
Fatal error: Callback must be a function
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#205 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ9ivzfMf7K5w909K-bwuO6xIZ7WAks5vAlNWgaJpZM4ZuDcV>
.
|
Strangely, we're seeing some Travis test failures:
https://travis-ci.org/publiclab/PublicLab.Editor/builds/475475435
After changes from: #198
Node 4 errors are same as #111
Node 10 errors are new;
What's odd is that we aren't supposed to be running tests in either:
PublicLab.Editor/.travis.yml
Lines 3 to 5 in b04e151
Not sure what's going on here!
The text was updated successfully, but these errors were encountered: