[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Documentation Home
Simple JavaScript testing
FAST
Low overhead, jasmine-core has no external dependencies.
NO MAGIC
Jasmine specs are just JavaScript. Jasmine doesn't change the way your code loads or runs.
NODE AND BROWSER
Run your browser tests and Node.js tests with the same framework.
describe("A suite is just a function", function() {
  let a;

  it("and so is a spec", function() {
    a = true;

    expect(a).toBe(true);
  
Jasmine is a framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It runs in browsers and in Node.js. And it has a clean, obvious syntax so that you can easily write tests.