Fix test after version in package.json has been corrected
This commit is contained in:
parent
4bdea08b60
commit
bac6c4e72d
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ test('version is included as html meta tag', function(assert) {
|
|||
andThen(function() {
|
||||
assert.ok($('head meta[name="build-info"]').length === 1, 'tag exists');
|
||||
assert.ok(
|
||||
$('head meta[name="build-info"]').attr('content').match(/^version=v\d[\d\.]+\d(-(alpha|beta|rc)\d)?(\+[\da-z]{8})?$/) !== null,
|
||||
$('head meta[name="build-info"]').attr('content').match(/^version=\d[\d\.]+\d(-(alpha|beta|rc)\d)?(\+[\da-z]{8})?$/) !== null,
|
||||
'format '.concat($('head meta[name="build-info"]').attr('content'), ' is correct')
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue