mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
MISC: Remove support for running NS1 scripts (#2083)
This commit is contained in:
@@ -40,30 +40,6 @@ global.URL.createObjectURL = function (blob) {
|
||||
initGameEnvironment();
|
||||
|
||||
test.each([
|
||||
{
|
||||
name: "NS1 test /w import",
|
||||
expected: ["false home 8", "Script finished running"],
|
||||
scripts: [
|
||||
{
|
||||
name: "import.script",
|
||||
code: `
|
||||
export function getInfo() {
|
||||
return stock.has4SData();
|
||||
}
|
||||
`,
|
||||
},
|
||||
{
|
||||
name: "simple_test.script",
|
||||
code: `
|
||||
import { getInfo } from "import.script";
|
||||
|
||||
var access = getInfo();
|
||||
var server = getServer();
|
||||
printf("%s %s %d", access, server.hostname, server.maxRam);
|
||||
`,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "NS2 test /w import",
|
||||
expected: ["false home 8", "Script finished running"],
|
||||
|
||||
Reference in New Issue
Block a user