All files / src index.js

100% Statements 2/2
100% Branches 3/3
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20                1x   9x                  
import * as plugin from "./plugin";
import CldContext from "./components/CldContext/CldContext";
import CldImage from "./components/CldImage/CldImage";
import CldVideo from "./components/CldVideo/CldVideo";
import CldPoster from './components/CldVideo/CldPoster';
import CldTransformation from './components/CldTransformation/CldTransformation';
import CldPlaceholder from './components/CldPlaceholder/CldPlaceholder';
 
const Cloudinary = {
  install: (Vue, options = {}) => {
    plugin.install(Vue, options.components ? options : { ...options, components: { CldContext, CldImage, CldVideo, CldTransformation, CldPoster, CldPlaceholder }})
  }
};
 
export {
  Cloudinary as default,
  Cloudinary,
  CldContext, CldImage, CldVideo, CldTransformation, CldPoster, CldPlaceholder
};