fix(slash): passing className property to Button remove af-btn defaultClassName #1312
Annotations
3 errors and 1 warning
Run npm run test:
slash/react/src/Form/File/__tests__/File.spec.tsx#L16
Error: Snapshot `<File.File> > renders File.File correctly 1` mismatched
- Expected
+ Received
@@ -20,11 +20,11 @@
<div>
Glissez/déposez vos fichiers
</div>
</div>
<button
- class="af-btn af-btn--file af-btn--hasIconLeft af-btn"
+ class="af-btn af-btn--file af-btn--hasIconLeft"
type="button"
>
<i
class="glyphicon glyphicon-open"
/>
❯ src/Form/File/__tests__/File.spec.tsx:16:26
|
Run npm run test:
slash/react/src/Form/File/__tests__/FileInput.spec.tsx#L17
Error: Snapshot `<FileInput> > renders FileInput correctly 1` mismatched
- Expected
+ Received
@@ -39,11 +39,11 @@
<div>
Glissez/déposez vos fichiers
</div>
</div>
<button
- class="af-btn af-btn--file af-btn--hasIconLeft af-btn"
+ class="af-btn af-btn--file af-btn--hasIconLeft"
type="button"
>
<i
class="glyphicon glyphicon-open"
/>
❯ src/Form/File/__tests__/FileInput.spec.tsx:17:26
|
Run npm run test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading