Skip to content

Commit

Permalink
Upgrade imports-loader [publish]
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnosphi committed Oct 22, 2020
1 parent f535713 commit 7f2488b
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 357 deletions.
4 changes: 0 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ updates:
versions:
- "< 3"
- ">= 2.a"
- dependency-name: imports-loader
versions:
- ">= 1.a"
- "< 2"
- package-ecosystem: npm
directory: "/packages/generator/app/templates"
schedule:
Expand Down
2 changes: 1 addition & 1 deletion components/auth/auth.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import AuthResponseParser from './response-parser';
import BackgroundFlow from './background-flow';
import TokenValidator from './token-validator';

import MockedStorage from 'imports-loader?window=storage-mock!../storage/storage__local';
import MockedStorage from 'imports-loader?imports=default|storage-mock|window!../storage/storage__local';

const HOUR = 3600;

Expand Down
2 changes: 1 addition & 1 deletion components/auth/storage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import sniffer from '../global/sniffer';
import AuthStorage from './storage';
import TokenValidator from './token-validator';

import MockedStorage from 'imports-loader?window=storage-mock!../storage/storage__local';
import MockedStorage from 'imports-loader?imports=default|storage-mock|window!../storage/storage__local';

const TICK = 100;

Expand Down
2 changes: 1 addition & 1 deletion components/auth/token-validator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Auth from './auth';
import AuthStorage from './storage';
import TokenValidator from './token-validator';

import MockedStorage from 'imports-loader?window=storage-mock!../storage/storage__local';
import MockedStorage from 'imports-loader?imports=default|storage-mock|window!../storage/storage__local';

describe('Auth', () => {
describe('TokenValidator', () => {
Expand Down
2 changes: 1 addition & 1 deletion components/storage/storage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import Storage from './storage__local';
import FallbackStorage from './storage__fallback';

import MockedStorage from 'imports-loader?window=storage-mock!./storage__local';
import MockedStorage from 'imports-loader?imports=default|storage-mock|window!./storage__local';

function noop() {}

Expand Down
Loading

0 comments on commit 7f2488b

Please sign in to comment.