Skip to content

Commit 63c20ae

Browse files
committed
get compat tests to work
1 parent fe25775 commit 63c20ae

File tree

6 files changed

+256
-346
lines changed

6 files changed

+256
-346
lines changed

packages/storage-compat/.eslintrc.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,6 @@ module.exports = {
3333
varsIgnorePattern: '^_',
3434
args: 'none'
3535
}
36-
],
37-
'import/no-extraneous-dependencies': [
38-
'error',
39-
{
40-
'packageDir': [
41-
path.resolve(__dirname, '../../'),
42-
__dirname,
43-
path.resolve(__dirname, 'exp')
44-
]
45-
}
4636
]
4737
}
4838
};

packages/storage-compat/.npmignore

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/storage-compat/test/integration/integration.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717

1818
import firebase from '@firebase/app-compat';
19+
// eslint-disable-next-line import/no-extraneous-dependencies
1920
import '@firebase/auth-compat';
2021

2122
// See https://github.com/typescript-eslint/typescript-eslint/issues/363

packages/storage-compat/test/unit/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17+
import '../setup';
1718
import { expect } from 'chai';
1819
import '../../src/index';
1920
import firebase from '@firebase/app-compat';

0 commit comments

Comments
 (0)