Skip to content

Files

Latest commit

 

History

History

copy-task

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Copy Task Tests

This directory aims to test and validate the behavior for Stencils Copy Task for Output Targets. It has a copy task defined in test/copy-task/stencil.config.ts and builds this starter projects to then validate if the right files where copies.

Given

We have a copy task defined as part of an output target, e.g.

{
  type: 'dist-custom-elements',
  copy: [{
    src: './utils',
    dest: './dist/utilsExtra',
  }]
}

I expect that a utilsExtra directory is created that does not copy the following entries:

  • files in __fixtures__ and __mocks__ directories
  • as well as files named desktop.ini

Furthermore I expect that no JS files are copied over within the collection directory.