File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
packages/firestore/src/core Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ import {
44
44
} from '../local/memory_persistence' ;
45
45
46
46
const MEMORY_ONLY_PERSISTENCE_ERROR_MESSAGE =
47
- 'You are using the memory-only build of Firestore. Persistence support is ' +
47
+ 'You ARE using the memory-only build of Firestore. Persistence support is ' +
48
48
'only available via the @firebase/firestore bundle or the ' +
49
49
'firebase-firestore.js build.' ;
50
50
Original file line number Diff line number Diff line change @@ -96,12 +96,18 @@ async function getChangedPackages() {
96
96
return { testAll : true } ;
97
97
}
98
98
// Files outside a package dir that should trigger its tests.
99
+ console . log ( filename ) ;
99
100
const matchingSpecialPaths = Object . keys ( specialPaths ) . filter ( path =>
100
101
filename . startsWith ( path )
101
102
) ;
102
- for ( const targetPackage of specialPaths [ matchingSpecialPaths ] ) {
103
- changedPackages [ targetPackage ] = 'dependency' ;
103
+ console . log ( matchingSpecialPaths ) ;
104
+ for ( const matchingSpecialPath of matchingSpecialPaths ) {
105
+ for ( const targetPackage of specialPaths [ matchingSpecialPath ] ) {
106
+ changedPackages [ targetPackage ] = 'dependency' ;
107
+ }
104
108
}
109
+ console . log ( changedPackages ) ;
110
+ throw new Error ( 'foo' ) ;
105
111
// Check for changed files inside package dirs.
106
112
const match = filename . match ( '^(packages(-exp)?/[a-zA-Z0-9-]+)/.*' ) ;
107
113
if ( match && match [ 1 ] ) {
You can’t perform that action at this time.
0 commit comments