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

[SDKS-7564] Flag sets integration tests #763

Merged
merged 5 commits into from
Oct 20, 2023
Merged

[SDKS-7564] Flag sets integration tests #763

merged 5 commits into from
Oct 20, 2023

Conversation

emmaz90
Copy link
Contributor

@emmaz90 emmaz90 commented Oct 9, 2023

JS SDK

What did you accomplish?

Added integration tests for flag sets

How do we test the changes introduced in this PR?

Extra Notes

@emmaz90 emmaz90 requested a review from a team as a code owner October 9, 2023 21:33
src/__tests__/online/browser.spec.js Outdated Show resolved Hide resolved
src/__tests__/browserSuites/fetch-specific-splits.spec.js Outdated Show resolved Hide resolved
const client = factory.client();
client.ready().then(() => {
t.true(logSpy.calledWithExactly('[WARN] splitio => settings: bySet filter value "set_x " has extra whitespace, trimming.'));
t.true(logSpy.calledWithExactly('[WARN] splitio => settings: you passed invalid+, flag set must adhere to the regular expressions /^[a-z0-9][_a-z0-9]{0,49}$/. This means a flag set must start with a letter or number, be in lowercase, alphanumeric and have a max length of 50 characters. invalid+ was discarded.'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo here. This should be . Flag set must .... Consider for polishing in JS-Commons

src/__tests__/browserSuites/push-flag-sets.spec.js Outdated Show resolved Hide resolved
src/__tests__/browserSuites/push-flag-sets.spec.js Outdated Show resolved Hide resolved
src/__tests__/browserSuites/flag-sets.spec.js Outdated Show resolved Hide resolved
src/__tests__/browserSuites/telemetry.spec.js Show resolved Hide resolved
@emmaz90 emmaz90 merged commit 66ddb34 into sdks-7437 Oct 20, 2023
3 checks passed
@emmaz90 emmaz90 deleted the sdks-7564 branch October 20, 2023 23:43
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.

2 participants