Skip to content

Commit

Permalink
fixup! fix(service-worker): detect new version even if files are iden…
Browse files Browse the repository at this point in the history
…tical to an old one
  • Loading branch information
gkalpak committed Jan 16, 2019
1 parent ca19ce5 commit 79fa1bc
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/service-worker/worker/test/happy_spec.ts
Expand Up @@ -194,15 +194,10 @@ const serverBuilderBase =
.withRedirect('/redirected.txt', '/redirect-target.txt', 'this was a redirect')
.withError('/error.txt');

const server =
serverBuilderBase
.withManifest(manifest)
.build();
const server = serverBuilderBase.withManifest(manifest).build();

const serverRollback =
serverBuilderBase
.withManifest({...manifest, timestamp: manifest.timestamp + 1})
.build();
serverBuilderBase .withManifest({...manifest, timestamp: manifest.timestamp + 1}) .build();

const serverUpdate =
new MockServerStateBuilder()
Expand Down

0 comments on commit 79fa1bc

Please sign in to comment.