-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(cleanup): remove deprecated preferences code #11
Conversation
@@ -12,451 +12,233 @@ import type { PreferencesData } from 'ember-headless-table'; | |||
module('Unit | -private | table-preferences', function (hooks) { | |||
setupTest(hooks); | |||
|
|||
module('deprecated APIs', function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all of these tests have been deleted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like they have been replaced. Is this prep for the upcoming tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the replacement tests already exist 🎉
}); | ||
|
||
module('#restore and #persist are inverses', function () { | ||
// test('mixed top-level keys along with plugin data', async function (assert) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these tests were commented out because of sinon usage, and sinon does not natively support running in browsers (it tries to import util
, which is a known node package -- there is a browser version of util
, but I opted to have fewer dependencies).
The tests using non-deprecated APIs have been re-enabled and have had their sinon usage removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohhhh I see.
Preview URLsGH Env: preview |
3a23c56
to
87c7079
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋 nice!
Unrelated, but I raised this issue because I can't seem to run |
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Now that everything is plugins, we don't need this anymore