Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(it): support for Node.js familiar API usage #354

Merged
merged 2 commits into from
Jun 10, 2024
Merged

feat(it): support for Node.js familiar API usage #354

merged 2 commits into from
Jun 10, 2024

Conversation

wellwelwel
Copy link
Owner

Closes #209.


Now it module is available:

import { describe, it, assert } from 'poku';

describe('Calc suite', () => {
  it('Sums', () => {
    assert.equal(1 + 1, 2);
    assert.equal(2 + 2, 4);
  });

  it('Div', () => {
    assert.equal(1 / 1, 1);
    assert.equal(2 / 2, 1);
  });
});

@wellwelwel wellwelwel marked this pull request as ready for review June 10, 2024 00:56
Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.08%. Comparing base (b423a7e) to head (483b751).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #354      +/-   ##
==========================================
+ Coverage   95.00%   95.08%   +0.08%     
==========================================
  Files          32       33       +1     
  Lines        2640     2686      +46     
  Branches      425      434       +9     
==========================================
+ Hits         2508     2554      +46     
  Misses        125      125              
  Partials        7        7              
Flag Coverage Δ
linux-parallel 94.67% <100.00%> (+0.09%) ⬆️
linux-parallel-options 94.97% <100.00%> (+0.08%) ⬆️
linux-sequential 93.37% <100.00%> (+0.11%) ⬆️
linux-sequential-options 93.63% <100.00%> (+0.11%) ⬆️
osx-parallel 94.67% <100.00%> (+0.09%) ⬆️
osx-parallel-options 94.97% <100.00%> (+0.08%) ⬆️
osx-sequential 93.37% <100.00%> (+0.11%) ⬆️
osx-sequential-options ?
windows-parallel 94.22% <100.00%> (+0.10%) ⬆️
windows-parallel-options 94.52% <100.00%> (+0.09%) ⬆️
windows-sequential ?
windows-sequential-options ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wellwelwel wellwelwel merged commit c7b2b48 into main Jun 10, 2024
39 checks passed
@wellwelwel wellwelwel deleted the node-api branch June 10, 2024 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interoperability with native Node.js test, describe and it
1 participant