Skip to content

Instantly share code, notes, and snippets.

@garlicnation
Created June 10, 2015 23:02
Show Gist options
  • Save garlicnation/927cea2c202bed02fae1 to your computer and use it in GitHub Desktop.
Save garlicnation/927cea2c202bed02fae1 to your computer and use it in GitHub Desktop.
function emailTest(name, address) {
test(name, function() {
var input = fixture('basic');
forceXIfStamp(input);
var container = Polymer.dom(input.root).querySelector('paper-input-container');
assert.ok(container, 'paper-input-container exists');
input.value = address;
assert.isFalse(container.invalid);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment