mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-30 14:06:56 +00:00
Upgrade to Jasmine 3 (#4226)
* process.exit() only exist in a node.js environment
* updateInterval has been removed from upstream
From upstream commit:
b6eb9a4d5e
* Update Jasmine to 3.4.0
* Reuse the evalInContext helper
* Fix expected parse result to match the actual result
* 'describe' cannot be nested inside 'it' blocks
Jasmine started to explicitly raise an error in these cases since:
https://github.com/jasmine/jasmine/pull/1411
* Be consistent about how to refer to library files
* Update link to Jasmine's official website
This commit is contained in:
committed by
Jeremy Ruston
parent
2deed528bc
commit
613f0b2559
@@ -156,7 +156,7 @@ describe("HTML tag new parser tests", function() {
|
||||
null
|
||||
);
|
||||
expect(parser.parseTag("<mytag>",0)).toEqual(
|
||||
{ type : 'element', start : 0, attributes : [ ], tag : 'mytag', end : 7 }
|
||||
{ type : 'element', start : 0, attributes : { }, tag : 'mytag', end : 7 }
|
||||
);
|
||||
expect(parser.parseTag("<mytag attrib1>",0)).toEqual(
|
||||
{ type : 'element', start : 0, attributes : { attrib1 : { type : 'string', value : 'true', start : 6, name : 'attrib1', end : 14 } }, tag : 'mytag', end : 15 }
|
||||
|
||||
Reference in New Issue
Block a user