mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 02:41:09 +08:00
Revert "Rename all test files from JS -> ES6"
This reverts commit 2abe85b8344de1102c1589a9ac9421a8b296f2b5.
This commit is contained in:
@ -1,16 +0,0 @@
|
||||
import componentTest from "helpers/component-test";
|
||||
|
||||
moduleForComponent("share-button", { integration: true });
|
||||
|
||||
componentTest("share button", {
|
||||
template: '{{share-button url="https://eviltrout.com"}}',
|
||||
|
||||
test(assert) {
|
||||
assert.ok(find(`button.share`).length, "it has all the classes");
|
||||
|
||||
assert.ok(
|
||||
find('button[data-share-url="https://eviltrout.com"]').length,
|
||||
"it has the data attribute for sharing"
|
||||
);
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user