Skip to content

Commit

Permalink
test: fix variant result assumption (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunogois authored Nov 9, 2023
1 parent 46fa764 commit 9a52852
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"typescript": "^5.2.2",
"unleash-proxy-client": "^3.0.0",
"unleash-proxy-client": "^3.2.0",
"vite": "^4.4.11",
"vite-plugin-dts": "^3.6.0",
"vitest": "^0.32.4"
Expand Down
2 changes: 1 addition & 1 deletion src/integration.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ test('should render toggles', async () => {
expect(screen.getByTestId('ready')).toHaveTextContent('true');
expect(screen.getByTestId('state')).toHaveTextContent('true');
expect(screen.getByTestId('variant')).toHaveTextContent(
'{"name":"A","payload":{"type":"string","value":"A"},"enabled":true}'
'{"name":"A","payload":{"type":"string","value":"A"},"enabled":true,"feature_enabled":true}'
);
});

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2077,10 +2077,10 @@ universalify@^0.2.0:
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0"
integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==

unleash-proxy-client@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/unleash-proxy-client/-/unleash-proxy-client-3.0.0.tgz#7daa25bcd8c449de43cbccc3bdf0145a1b83bed0"
integrity sha512-o9/UOTtvqpa0M3wPwd2YctMqRNO8ID32VCZHAhToJ+3Lh6Qdn1FUqrvyeQpycW/xKuqQNsYXH7W83qSy9Bb/UA==
unleash-proxy-client@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/unleash-proxy-client/-/unleash-proxy-client-3.2.0.tgz#cdecf1b3bdd40fbe7a20fd66c27906b33e53c4fd"
integrity sha512-y9iCRCytxQCej6HlXecGu63ul1Wz6xklXOs+vuaPbqtj4NDGT6IThUvP3h7m5pW+IIxR99hnkVS1FICt1FT3yQ==
dependencies:
tiny-emitter "^2.1.0"
uuid "^9.0.1"
Expand Down

0 comments on commit 9a52852

Please sign in to comment.