Skip to content
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

Testem #181

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Testem #181

wants to merge 8 commits into from

Conversation

xcoderzach
Copy link
Contributor

run all the tests with testem.

We can use this once testem/testem#324 gets merged. It still works without it but sometimes all the tests dont run.

tobowers and others added 8 commits December 6, 2013 15:52
…buttons /select fields where end dash will try to set the value based on a scope but the children haven't been parsed yet so it will error... for example:

```html
<div class="present-">
  <select class="usersId-">
    <optgroup data-scope="/users" data-each>
      <option value="#{id}" class="name-"></option>
    </optgroup>
  </select>
</div>
```

When we traverse and get to the select.userId- we try to set val() on it, but the users have not yet populated.

This is not the "best" fix, but at least it allows the template to completely render before trying to set val().
@amicus-jenkins
Copy link

Can one of the admins verify this patch?

@bglusman
Copy link
Contributor

bglusman commented Dec 7, 2013

test please

On Friday, December 6, 2013, amicus-jenkins wrote:

Can one of the admins verify this patch?


Reply to this email directly or view it on GitHubhttps://github.com//pull/181#issuecomment-30045417
.

Brian Glusman - [email protected]
215-460-9585 - cell
Twitter: @bglusman

@xcoderzach
Copy link
Contributor Author

totally won't run anymore.

@xcoderzach
Copy link
Contributor Author

cd end-dash
npm install
npm install -g testem
testem

open http://localhost:7357 in a browser. The tests just ran in the browser, boom.

@xcoderzach
Copy link
Contributor Author

Before this can get merged:

  1. Have a way to run a subset of the tests
  2. get it to work with your CI
  3. Source maps

I think we should completely replace the current jsdom tests with this.

@tobowers
Copy link
Contributor

tobowers commented Dec 9, 2013

hmm - I think we should close this PR till it's ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants