test(home): react grid layout version
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
@@ -13,10 +13,19 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import packageJson from '../package.json';
|
||||
import { homePlugin } from './plugin';
|
||||
|
||||
describe('home', () => {
|
||||
it('should export plugin', () => {
|
||||
expect(homePlugin).toBeDefined();
|
||||
});
|
||||
|
||||
// Temporarily ensure we are installing a working version of the react-grid-layout library
|
||||
// For more details, see: https://github.com/react-grid-layout/react-grid-layout/issues/1959
|
||||
// TODO(@backstage/discoverability-maintainers): Delete this once the sub-dependency issue has been resolved.
|
||||
it('should pin react-grid-layout version to 1.3.4', async () => {
|
||||
expect(packageJson.dependencies['react-grid-layout']).toBe('1.3.4');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user