Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
130 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
return function() | ||
local BTKPlugin = require(script.Parent) | ||
|
||
describe("BTKPlugin", function() | ||
it("should require ok", function() | ||
expect(BTKPlugin).to.be.ok() | ||
end) | ||
|
||
--[[ | ||
--- @TODO no support for emulating plugins yet | ||
it("should new ok", function() | ||
expect(BTKPlugin:new()).to.be.ok() | ||
end) | ||
--]] | ||
end) | ||
end |
16 changes: 16 additions & 0 deletions
16
src/Models/Core/MainModule/UI/Components/AssetItem.spec.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
return function() | ||
local AssetItem = require(script.Parent.AssetItem) | ||
|
||
describe("AssetItem", function() | ||
it("should require ok", function() | ||
expect(AssetItem).to.be.ok() | ||
end) | ||
|
||
--[[ | ||
--- @TODO cannot emulate marketplaceservice yet | ||
it("should new ok", function() | ||
expect(AssetItem:init()).to.be.ok() | ||
end) | ||
--]] | ||
end) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/Models/Core/MainModule/UI/Components/AssetsWidget.spec.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
return function() | ||
local AssetsWidget = require(script.Parent.AssetsWidget) | ||
|
||
describe("AssetsWidget", function() | ||
it("should require ok", function() | ||
expect(AssetsWidget).to.be.ok() | ||
end) | ||
|
||
it("should new ok", function() | ||
expect(AssetsWidget:init({ | ||
Plugin = "foo", | ||
})).never.to.be.ok() | ||
end) | ||
end) | ||
end |
15 changes: 15 additions & 0 deletions
15
src/Models/Core/MainModule/UI/Components/ConfigurationWidget.spec.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
return function() | ||
local ConfigurationWidget = require(script.Parent.ConfigurationWidget) | ||
|
||
describe("ConfigurationWidget", function() | ||
it("should require ok", function() | ||
expect(ConfigurationWidget).to.be.ok() | ||
end) | ||
|
||
--[[ @TODO no support for selection | ||
it("should new ok", function() | ||
expect(ConfigurationWidget:init({})).never.to.be.ok() | ||
end) | ||
--]] | ||
end) | ||
end |
13 changes: 13 additions & 0 deletions
13
src/Models/Core/MainModule/UI/Components/Dropdown.spec.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
return function() | ||
local Dropdown = require(script.Parent.Dropdown) | ||
|
||
describe("Dropdown", function() | ||
it("should require ok", function() | ||
expect(Dropdown).to.be.ok() | ||
end) | ||
|
||
it("should new ok", function() | ||
expect(Dropdown:init({})).never.to.be.ok() | ||
end) | ||
end) | ||
end |
13 changes: 13 additions & 0 deletions
13
src/Models/Core/MainModule/UI/Components/TextLabel.spec.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
return function() | ||
local TextLabel = require(script.Parent.TextLabel) | ||
|
||
describe("TextLabel", function() | ||
it("should require ok", function() | ||
expect(TextLabel).to.be.ok() | ||
end) | ||
|
||
it("should new ok", function() | ||
expect(TextLabel:init({})).never.to.be.ok() | ||
end) | ||
end) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
return function() | ||
local UI = require(script.Parent) | ||
|
||
describe("UI", function() | ||
it("should require ok", function() | ||
expect(UI).to.be.ok() | ||
end) | ||
|
||
it("should new ok", function() | ||
expect(UI:new()).to.be.ok() | ||
end) | ||
end) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
return function() | ||
local Area = require(script.Parent.Area) | ||
|
||
describe("Area", function() | ||
it("should require ok", function() | ||
expect(Area).to.be.ok() | ||
end) | ||
|
||
--[[ | ||
--- @TODO this fails now | ||
it("should new ok", function() | ||
expect(Area:new({ | ||
Script = Instance.new("Script"), | ||
})).to.be.ok() | ||
end) | ||
--]] | ||
end) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters