Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Oct 5, 2021
1 parent 1281862 commit cb76230
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@ember/-internals/metal/lib/cached.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// NOTE: copied from: https://github.com/glimmerjs/glimmer.js/pull/358
// Both glimmerjs/glimmer.js and emberjs/ember.js have the exact same implementation
// of @cached, so any changes made to one should also be made to the other
import { EMBER_CACHED } from '@ember/canary-features';
import { DEBUG } from '@glimmer/env';
import { createCache, getValue } from '@glimmer/validator';
import { EMBER_CACHED } from '@ember/canary-features';

/**
* @decorator
Expand Down
1 change: 0 additions & 1 deletion packages/@ember/-internals/metal/tests/cached/get_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ if (EMBER_CACHED) {
assert.verifySteps(['Kenneth Larsen'], 'accessing the property triggers a re-computation');
}

// https://github.com/ember-polyfills/ember-cached-decorator-polyfill/issues/7
'@test it has a separate cache per class instance'() {
let assert = this.assert;

Expand Down

0 comments on commit cb76230

Please sign in to comment.