mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 20:01:14 +08:00
REFACTOR: PreloadStore to ES6
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
import { blank } from 'helpers/qunit-helpers';
|
||||
import PreloadStore from 'preload-store';
|
||||
|
||||
module("Discourse.PreloadStore", {
|
||||
setup: function() {
|
||||
module("preload-store", {
|
||||
setup() {
|
||||
PreloadStore.store('bane', 'evil');
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user