mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-17 10:57:32 +01:00
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
This commit is contained in:
commit
73023f4f3c
@ -20,7 +20,7 @@ function isNs2(filename: string): boolean {
|
|||||||
return filename.endsWith(".ns") || filename.endsWith(".js");
|
return filename.endsWith(".ns") || filename.endsWith(".js");
|
||||||
}
|
}
|
||||||
|
|
||||||
const newNs2Template = `/** @param {NS} ns **/
|
const newNs2Template = `/** @param {NS} ns */
|
||||||
export async function main(ns) {
|
export async function main(ns) {
|
||||||
|
|
||||||
}`;
|
}`;
|
||||||
|
@ -8,7 +8,7 @@ jest.mock(`!!raw-loader!../NetscriptDefinitions.d.ts`, () => "", {
|
|||||||
virtual: true,
|
virtual: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
const code = `/** @param {NS} ns **/
|
const code = `/** @param {NS} ns */
|
||||||
export async function main(ns) {
|
export async function main(ns) {
|
||||||
ns.print(ns.getWeakenTime('n00dles'));
|
ns.print(ns.getWeakenTime('n00dles'));
|
||||||
}`;
|
}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user