Expected ({0: HTMLNode, length: 1}) to be '#container'.
describe("Experimentation", function() { var elem; beforeEach(function() { elem = $('<div id="container"><p>Hello World</p></div>'); }) it("allows us to search with CSS selectors", function() { expect(elem).toBe('#container'); }) });
idis notcontainerand passes if it is - Vasily Barbashev$()record will not work for you. So the test will already fall due toundefined. Everything should work. Can you use the old version of Jasmine? Because on the test everything works - Vasily Barbashevjasmine. Ps.копирование, notкапирование- Vasily Barbashev