Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Implement hooks #13

Open
szk2s opened this issue May 31, 2019 · 1 comment
Open

Implement hooks #13

szk2s opened this issue May 31, 2019 · 1 comment

Comments

@szk2s
Copy link
Owner

szk2s commented May 31, 2019

After BeforeEach, wait a little moment until finishing the initialization.

@szk2s
Copy link
Owner Author

szk2s commented Jul 1, 2019

describe('hooks', function() {
  before(function() {
    // runs before all tests in this block
  });

  after(function() {
    // runs after all tests in this block
  });

  beforeEach(function() {
    // runs before each test in this block
  });

  afterEach(function() {
    // runs after each test in this block
  });

  // test cases
});

https://mochajs.org/#hooks

@szk2s szk2s changed the title Rename the property initPatcher as beforeEach Implement hooks Jul 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant