@@ -112,7 +112,7 @@ test(`[Shared file symlinking with plugins (default paths)] shared() copies shar
112
112
pluginArtifacts . length + 1 ,
113
113
)
114
114
resetAndCopySharedPlugins ( t , function ( ) {
115
- cp ( join ( 'src' , 'app.plugins' ) , join ( '.' , 'app.arc' ) , { recursive : true } ,
115
+ cp ( join ( 'src' , 'app.plugins' ) , join ( '.' , 'app.arc' ) , { recursive : true , force : true } ,
116
116
function ( err ) {
117
117
if ( err ) t . fail ( err )
118
118
else {
@@ -187,7 +187,7 @@ test(`[Shared file symlinking (custom paths)] shared() copies shared and views (
187
187
test ( `[Shared file symlinking (default paths)] shared() views to only @views (unless disabled or folder not found)` , t => {
188
188
t . plan ( viewsArtifacts . length + viewsArtifactsDisabled . length + 1 )
189
189
resetAndCopyShared ( t , function ( ) {
190
- cp ( join ( 'src' , 'app.arc-views' ) , join ( '.' , 'app.arc' ) , { recursive : true } , function ( err ) {
190
+ cp ( join ( 'src' , 'app.arc-views' ) , join ( '.' , 'app.arc' ) , { recursive : true , force : true } , function ( err ) {
191
191
if ( err ) t . fail ( err )
192
192
else {
193
193
hydrate . shared ( { symlink } , function ( err ) {
@@ -216,7 +216,7 @@ test(`[Shared file symlinking (default paths)] shared() views to only @views (un
216
216
test ( `[Shared file symlinking (custom paths)] shared() views to only @views (unless disabled or folder not found)` , t => {
217
217
t . plan ( viewsArtifacts . length + viewsArtifactsDisabled . length + 1 )
218
218
resetAndCopySharedCustom ( t , function ( ) {
219
- cp ( join ( '_shared-custom' , 'app.arc-views' ) , join ( '.' , 'app.arc' ) , { recursive : true } , function ( err ) {
219
+ cp ( join ( '_shared-custom' , 'app.arc-views' ) , join ( '.' , 'app.arc' ) , { recursive : true , force : true } , function ( err ) {
220
220
if ( err ) t . fail ( err )
221
221
else {
222
222
hydrate . shared ( { symlink } , function ( err ) {
0 commit comments