rsnext/test/integration/image-component
Anderson Leite 4d5eaf0efb
Tests: Adds test to data-nimg data attribute based on layout prop. (#28444)
Adds tests to the Image component to verify that the correct data is being exposed.
Based on #27899 and #28312

## Bug

- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes
2021-08-24 20:36:49 +00:00
..
asset-prefix Add test for placeholder=blur with assetPrefix (#27120) 2021-07-12 18:58:20 +00:00
base-path Add naturalWidth/naturalHeight to onLoadingComplete() callback (#27695) 2021-08-02 23:14:38 +00:00
basic Tests: Adds test to data-nimg data attribute based on layout prop. (#28444) 2021-08-24 20:36:49 +00:00
custom-resolver Update next/image test (#20986) 2021-01-13 15:05:08 +00:00
default Fix next/image blur placeholder when JS is disabled (#28269) 2021-08-19 04:26:07 +00:00
noscript Fix next/image noscript src path with loaders (#24011) 2021-06-16 20:53:40 +00:00
svgo-webpack [ESLint] Introduce a new setup process when next lint is run for the first time (#26584) 2021-08-04 21:53:15 +00:00
typescript Loosen next/image TS types for src (#26996) 2021-07-07 21:31:30 +00:00
typescript-style cache typechecking with incremental compilation (#24559) 2021-05-07 19:21:20 +02:00
unicode Fix image optimization encoding url (#28045) 2021-08-13 00:31:51 +00:00